|
GettingStarted
How to get started with django-eve-db.
Featured Getting StartedDependenciesdjango-eve-db depends on the following:
Choosing an RDBMSdjango-eve-db is seeing the most time developed and deployed under Postgres. While in theory it shouldn't matter what you run it on, there are subtle differences that can get in the way. Currently, we can only verify with certainty that django-eve-db runs as intended on Postgres and SQLite. MySQL has a limitation or two that will raise some hurdles during initial installation (index name length limitations is the big one). If you're able to run Postgres, we highly recommend it. SQLite will work in a pinch, and MySQL can be made to work with some effort. Getting the SourceThis project is currently (and probably will be for a long time) maintained in Subversion. You'll want to visit our Source page via the link on the top nav bar for instructions on checking it out. You'll want the eve_db directory in particular. InstallingPlace the eve_db directory somewhere in your Python path. If you're using django-eve, you can simply move the eve_db directory into your apps directory. You will then want to run your project's manage.py script as such: python manage.py syncdb This will create the necessary tables. Importing the Data SetThe next thing to do is import the data from the CCP dump. Run the following command via manage.py: python manage.py eve_import_ccp_dump NOTE: This will take a long time. This may take well over an hour or two for slow machines. The good news is, you should only have to do it once. ProfitYou should be ready to go now. Documentation is extremely sparse right now, but referring to the automatically generated docs via Django's admin interface should point you in something resembling the right direction. |