Skip to content

LCOG/lcog-team

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,539 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summit Suite Backend Readme

Python 3.12.2

Run the backend locally

MacOS

source ../env/bin/activate && ./manage.py runserver

Windows

..\env_20230705\Scripts\activate; .\manage.py runserver

Setting up the backend for the first time

  1. Ensure that .env file is in place (in OneDrive). Ensure settings are such that sqlite db is used
  2. Create a python virtualenv MacOS Ensure pyenv is installed brew install pyenv Install latest python version pyenv install 3.13.9 Create virtualenv ~/.pyenv/versions/3.12.2/bin/python -m venv env_20240412 Windows python -m venv env_20230705
  3. Activate virtualenv MacOS source ./env/bin/activate Windows .\env_20230705\Scripts\activate
  4. Install requirements MacOS pip install -r ./code/requirements.txt Windows python -m pip install -r .\code\requirements-windows.txt
  5. Run migrations MacOS ./manage.py migrate Windows python .\manage.py migrate
  6. Create a superuser MacOS ./manage.py createsuperuser --username=USERNAME Windows python .\manage.py createsuperuser --username=USERNAME
  7. Run commands to import employees and reviews from Caselle
  8. Add settings_local.py file from an existing install
  9. Run the backend locally MacOS ./manage.py runserver Windows python .\manage.py runserver

Install Elastic Beanstalk CLI

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html Manually install the CLI using pip. Modify environment variable PATH from instructions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors