Note: make sure to restore the database after installing postgres
- Download and install python
Make sure it works in your terminal or command line
- On your terminal type
python get-pip.py
pip install -r requirements/base.txt
pip install -r requirements/local.txt
- create a .env file and follow the config in env.example
- Install postgres and get your credentials
- Add the credentials in DATABASE_URL of your
.env
file - To start the server hit
python manage.py runserver
- To start the hot reloading go to the client folder in your terminal and type yarn install to install the modules
- Type
yarn hot
- Login to your postgres
psql -U <your username>
- Once your logged in type
CREATE DATABASE lesbois;
- Hit enter and type below to quit psql
\q
- Importing your database
psql -U postgres lesbois < partial_entry.sql