Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Loading test data
If you haven't already, SSH into to the VM:
vagrant ssh cd cadasta
Once you're in the cadasta folder, load in the test data:
$ ./manage.py loadstatic $ ./manage.py loadfixtures
You must run loadstatic before loadfixtures.
This will load in test policies, users, organizations, projects, and user roles. If you get an error message, try deleting everything and loading it back up.
http://localhost:8000/ in your browser, you should see the front page of the platform site. You'll need to login as a superuser (either
superuser2) to see the test data:
user: superuser1 password: password
All of the users have the same password, so you can test users with different permission settings.
If you want to delete all of the test data, run:
$ python manage.py loadfixtures --delete