Smart Ranlao for sad life of CPSK students.
This is a setup guide for anyone who cloned the project.
- Setup Python environment with Pipenv (
python3 -m pip install pipenv
). - Activate
pipenv shell
orpython3 -m pipenv shell
. - Install dependencies using
pip install -r requirements.txt
orpipenv install
. - Setup your secret key in
.env
file. - Migrate the database using
python manage.py migrate
. - Create a superuser or user for testing with
python manage.py createsuperuser
orpython manage.py createuser
. - Enjoy running your ranlao server with
python manage.py runserver
for development and useuvicorn exceed_ranlao.asgi:applicaton
for production.
# Use DEBUG true when you are developing the application please.
DEBUG=True
SECRET_KEY="use randomly cryptography safe generated nonsense for secret key"