...
To completely rebuild the database
These instructions assume your database is called oercommons_db
. If you are using a different name, you must adjust these instructions accordingly.
Log in to the vagrant VM:
...
Code Block |
---|
sudo -i su - postgres dropdb oercommons_db createdb -O oercommons_user -E UTF-8 --locale=en_US.UTF-8 -T template0template_postgis oercommons_db exit exit |
Activate the virtual environment:
...