Skip to content

Vagrant tips

Anton Korosov edited this page Jan 30, 2019 · 3 revisions

Activate Python environment

When you login to the geospaas machine, you should activate the correct Python environment: source activate py3django That will set path to correct Python exectutable and allow using all install libraries.

Migrate manually

If the data was not migrated to the database after vagrant up you need to do that manually:

source activate py3django
cd /vagrant/project
./manage.py migrate

Update vocabularies

Don't forget to update vocabularies to get all metadata into your database

source activate py3django
cd /vagrant/project
./manage.py update_vocabularies
Clone this wiki locally