src/README
changeset 36 36210c4f019f
parent 32 52f7a51ef948
child 37 5ce9218fb3e0
equal deleted inserted replaced
35:97106bacb24e 36:36210c4f019f
     9 ```shell
     9 ```shell
    10 $ mkdir -p run/{db,log,web}
    10 $ mkdir -p run/{db,log,web}
    11 $ mkdir -p run/web/{media,static}
    11 $ mkdir -p run/web/{media,static}
    12 $ cp .env.tmpl .env
    12 $ cp .env.tmpl .env
    13 $ vi .env
    13 $ vi .env
    14 $ mkvirtualenv irinotes
    14 $ mkvirtualenv -p `which python3` irinotes
    15 $ pip install -r requirements/dev.txt
    15 $ cd requirements
       
    16 $ pip install -r dev.txt
       
    17 $ cd ..
    16 $ python manage.py migrate
    18 $ python manage.py migrate
    17 $ python manage.py collectstatic
    19 $ python manage.py collectstatic
    18 $ python manage.py createsuperuser
    20 $ python manage.py createsuperuser
    19 $ python manage.py runserver
    21 $ python manage.py runserver
    20 
    22