Sanj
12 years ago
2 changed files with 20 additions and 1 deletions
@ -0,0 +1,19 @@ |
|||
Setup: |
|||
|
|||
$ virtualenv --system-site-packages . |
|||
$ . bin/activate |
|||
$ pip install -r requirements.txt |
|||
$ mysql -u root |
|||
mysql> create database ifa; |
|||
mysql> quit; |
|||
$ python manage.py syncdb |
|||
|
|||
Import data: |
|||
|
|||
$ python manage.py shell |
|||
>>> from ifa.films import imports |
|||
>>> imports.do(path="/path/to/FILMS.txt") |
|||
|
|||
Run dev server: |
|||
|
|||
$ python manage.py runserver |
Loading…
Reference in new issue