Update the README

This commit is contained in:
Rodolphe Breard 2019-07-23 00:45:19 +02:00
parent e09c239806
commit b3154265c1

View file

@ -27,13 +27,20 @@ pipenv run ./manage.py migrate
pipenv run ./manage.py createsuperuser
```
Now that the database has been set up one way or another, you may run Django's internal debug server.
In order to display the Khaganat theme, you have to install bulma and build it :
```
pipenv run ./manage.py bulma install
pipenv run ./manage.py bulma build
```
Now that everything has been set-up, you may run Django's internal debug server.
```
pipenv run ./manage.py runserver
```
If you created the database from scratch, Django will show an error when visiting the home page. To fix it, you need to got to `/admin/` and create a page with the `default` flag on.
If you created the database from scratch, Django will show an error when visiting the home page. To fix it, you need to go to `/admin/` and create a page with the `default` flag on.
## Environment variables