Skip to content
Snippets Groups Projects
Commit de85a3a0 authored by Piotr Matyjaszyk's avatar Piotr Matyjaszyk
Browse files
parents a8d87f2b 49dc4fda
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ DATABASES = { ...@@ -47,6 +47,7 @@ DATABASES = {
STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one; e.g. ~/tmp/static STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one; e.g. ~/tmp/static
MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media
``` ```
- Update migration db scrpit from file structure (`./scheduling-system/smash/manage.py makemigrations`)
- Create the database by applying migrations (`./scheduling-system/smash/manage.py migrate`) - Create the database by applying migrations (`./scheduling-system/smash/manage.py migrate`)
- Create the first, administrative, user- (`./scheduling-system/smash/manage.py createsuperuser`) - Create the first, administrative, user- (`./scheduling-system/smash/manage.py createsuperuser`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment