Server side for Class Website Automator. Automates creating the class website for NSS students.
Check the python version, python3 --version
. If it is not 3.9.*, run the install script for your os:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nashville-software-school/bangazon-llc/cohort-56/book-1-kennels/chapters/scripts/mac-installs.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nashville-software-school/bangazon-llc/cohort-56/book-1-kennels/chapters/scripts/wsl-ubuntu-installs.sh)"
Run the set up commands. This will set up the environment, database, and initial data.
pipenv shell
pipenv install --dev
./manage.py migrate
./manage.py loaddata programs cohorts themes
./manage.py runserver
./manage.py test
pipenv run test
./manage.py createsuperuser
pipenv requirements > requirements.txt