...
Code Block |
---|
SCSS_EXECUTABLE = "/opt/ruby/bin/sass" COFFESCRIPT_EXECUTABLE = "/usr/bin/coffee" SCSS_USE_COMPASS = True |
Installing PostGIS
In mid-April 2013, OER Commons added some map features. This requires the installation of PostGIS on your local system.
To install PostGIS on your VM follow the instructions at Installing PostGIS in your OER Commons VM.
Note: You will only have to install PostGIS once!
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:
...