PyLucid CMS Logo

2. create database tables and insert initial data

↑ previous steps  #

You have done this:

or

↑ syncdb / create superuser  #

Bash
1
2
3
4
5
# create all database tables (without creating a superuser at this time):
/var/www/YourSite$ ./manage.py syncdb --noinput --migrate

# Create a superuser:
/var/www/YourSite$ ./manage.py createsuperuser

↑ insert the initial data  #

Bash
1
2
# Load PyLucid base data into database:
/var/www/YourSite$ ./manage.py loaddata pylucid.json

You must get something like this output:

Installing json fixture 'pylucid' from 'PyLucid_env/src/pylucid/pylucid_project/apps/pylucid_admin/fixtures'.
Installed 159 object(s) from 1 fixture(s)

If you didn't see similar output, something went wrong!

↑ next step  #

After the done all these steps here, go to:

0 comments for '2. prepare database':
    there exist no comment for '2. prepare database'
Leave a comment

django-processinfo: 5.2 ms of 268.5 ms (1.9%)