Python 3.6.5 (create a virtual environment)
Postgresql (latest version)
Git (latest version)
Clone project using
$ git clone https://github.com/Shahzadfarukh100/CakeFrontEnd.git
CakeFrontEnd
│ README.md (main readme file)
│ .gitignore (gitignore file)
│ requirements.txt (requirements file)
└───src (all the source code is here)
│ │
│ │ manage.py
| | .env.example (environment variables file)
| └───core (main application)
│ └───conf (project configuration)
│ └───static (static files)
| └───templates (templates dir)
│
| (add more project related folders here like test_data and docs )
- Create and activate virtual environment
- Install Postgresql and create a database
- cd to project root and install requirements using
$ pip install -r requirements.txt
- cd to
src
dir. - Make a copy of
.env.example
file naming.env
($ cp .env.example .env
) - Edit variables in
.env
file - Apply migrations using
$ python manage.py migrate
- Run server using
python manage.py runserver
- Visit
127.0.0.1:8000
in browser. - Start writing code in
core
app.