Football Field Reservation Management API
git clone https://github.com/voidnowhere/FFRM_API.git
pip install virtualenv
cd FFRM_API
python -m venv venv
Windows
venv\Scripts\activate
Linux
source venv/Scripts/activate
PowerShell
no scripts like the activate script are allowed to be executed so you need to run PowerShell asadmin
and changeExecutionPolicy
toAllSigned
then typeA
toAlways run
the command is under
in the end usethe command above
to activate virtual environment
Set-ExecutionPolicy AllSigned
pip install -r requirements.txt
copy .env.example .env
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py cities_light --force-all
python manage.py runserver