Update readme
This commit is contained in:
parent
0c10757487
commit
ea5afe359b
|
|
@ -16,7 +16,7 @@ Sources
|
||||||
* Create virtualenv in install dependencies `pipenv --python 3.6 install --dev`
|
* Create virtualenv in install dependencies `pipenv --python 3.6 install --dev`
|
||||||
* Create PostgreSQL database & user
|
* Create PostgreSQL database & user
|
||||||
* [Install](https://devcenter.heroku.com/articles/heroku-cli#download-and-install) Heroku cli, run `heroku login` and `heroku git:remote -a skillbox-hep`
|
* [Install](https://devcenter.heroku.com/articles/heroku-cli#download-and-install) Heroku cli, run `heroku login` and `heroku git:remote -a skillbox-hep`
|
||||||
* Create .env in `server` file with `SECRET_KEY` and `DATABASE_URL`
|
* Create .env in `server` file with `SECRET_KEY` and `DATABASE_URL` (or copy the existing .env.example file)
|
||||||
* Migrate databases: `pipenv run python manage.py migrate`
|
* Migrate databases: `pipenv run python manage.py migrate`
|
||||||
* Create super user: `pipenv run python manage.py createsuperuser`
|
* Create super user: `pipenv run python manage.py createsuperuser`
|
||||||
* Run: `pipenv run python manage.py runserver`
|
* Run: `pipenv run python manage.py runserver`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue