Added the database initialization to README.
This commit is contained in:
parent
15ad595ad1
commit
7358b3ed9d
16
README.md
16
README.md
@ -105,6 +105,22 @@ base template `base.html`.
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Database Initialization
|
||||||
|
|
||||||
|
Run the management commands to initialize the database.
|
||||||
|
|
||||||
|
```
|
||||||
|
./manage.py makemigrations
|
||||||
|
./manage.py migrate accounting
|
||||||
|
./manage.py accounting_accounts
|
||||||
|
```
|
||||||
|
|
||||||
|
Optionally you can populate the database with some sample data.
|
||||||
|
|
||||||
|
```
|
||||||
|
./manage.py accounting_sample
|
||||||
|
```
|
||||||
|
|
||||||
### Restart Your Web Project
|
### Restart Your Web Project
|
||||||
|
|
||||||
## Advanced Settings
|
## Advanced Settings
|
||||||
|
Loading…
Reference in New Issue
Block a user