forked from expo/troggle
[svn] Fix leftover from expo -> core rename, and add databaseReset.py to README.txt
This commit is contained in:
parent
ae3fe8cd42
commit
205a73917d
14
README.txt
14
README.txt
@ -25,7 +25,15 @@ If you want to work on the source code and be able to commit, you will need to u
|
||||
|
||||
Next, you need to fill in your local settings. Copy either localsettingsubuntu.py or localsettingsserver.py to a new file called localsettings.py. Follow the instructions contained in the file to fill out your settings.
|
||||
|
||||
Setting up tables and importing legacy data
|
||||
------------------------------------------
|
||||
Run "python databaseReset.py reset" from the troggle directory.
|
||||
|
||||
Once troggle is running, you can also log in and then go to "Import / export" data under "admin" on the menu.
|
||||
|
||||
Running a Troggle server
|
||||
------------------------
|
||||
For high volume use, Troggle should be run using a web server like apache. However, a quick way to get started is to use the development server built into Django.
|
||||
|
||||
To do this, run "python manage.py runserver" from the troggle directory.
|
||||
|
||||
Importing legacy data
|
||||
---------------------
|
||||
Once troggle is running, log in and then go to "Import / export" data under "admin" on the menu
|
@ -1,12 +1,8 @@
|
||||
#.-*- coding: utf-8 -*-
|
||||
|
||||
import troggle.settings as settings
|
||||
import troggle.expo.models as models
|
||||
import csv
|
||||
import re
|
||||
import datetime
|
||||
import os
|
||||
import shutil
|
||||
from django.conf import settings
|
||||
import core.models as models
|
||||
import csv, re, datetime, os, shutil
|
||||
from troggle.save_carefully import save_carefully
|
||||
|
||||
# Julian: the below code was causing errors and it seems like a duplication of the above. Hope I haven't broken anything by commenting it. -Aaron
|
||||
|
Loading…
Reference in New Issue
Block a user