-
Notifications
You must be signed in to change notification settings - Fork 81
Loading test data
Loading:
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.
Open 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 superuser1
or 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.
Deleting:
If you want to delete all of the test data, run:
$ python manage.py loadfixtures --delete
Visit our User Documentation to learn more about using the Cadasta Platform.
If you'd like to contribute to the Cadasta Platform, start with our Contributing Guidelines.
Cadasta Wiki Home | Developer Setup Guide
Cadasta.org | About Cadasta | YouTube | Twitter | Facebook
- Installing & Running
- Contributing
- Planning & Sprints
- Platform Development
- Testing
- Utilities
- Outreachy
- Platform Site Map
- User Flows and Wireframes
- Other
- Quick Start Guide
- Glossary
- Questionnaire Guide