Skip to content

Repository files navigation

Getting the files

Download zip file or
Clone with git + remove git folder

git clone https://github.com/jhasan0122/Build_It . && rm -rf .git




Setup

- Create Virtual Environment

# Mac
python3 -m venv venv
source venv/bin/activate
# Windows
pip install virtualenv 
virtualenv venv 
venv\Scripts\activate.bat 

- Install dependencies

pip install --upgrade pip
pip install -r requirements.txt

- Migrate to database

python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser

- Run application

python manage.py runserver

- Generate Secret Key ( ! Important for deployment ! )

python manage.py shell
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
exit()

Create requirement.txt

source venv/bin/activate
pip freeze > requirements.txt

Shell

python manage.py shell

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages