Closed allthesignals closed 7 years ago
I'm going to deploy this to the Amazon LightSail instance I set up for YouthMatch for now. And then setup Capistrano. Things to do to get this working:
Sent note to ITHelp to point staging.masaferoutessurvey.org to my Amazon LightSail staging server so we can get an environment setup for the develop branch/staging. After I successfully do that there, I'll do the live version after.
Almost done but currently blocked from setting up the staging database by the following error:
PG::InsufficientPrivilege: ERROR: permission denied to create extension "pgrouting" HINT: Must be superuser to create this extension. : CREATE EXTENSION IF NOT EXISTS "pgrouting"
I need either a postgres user with superuser privileges or alternatively someone with a superuser privileges person to add the pg_routing extension to the myschoolcommute2_staging database. @allthesignals
@mzagaja
ssh
in and sudo su postgres
which setup the correct user.
I don't have SSH access/credentials to db.live.mapc.org.
Ok this is now live for the staging site: http://staging.masaferoutessurvey.org/
Continuing from #24, this issue has blossomed into its own issue. Here's the original comment:
Here @mzagaja suggests deploying to a custom Linux server:
This way we can save a lot of time running the R script (which has many heavy dependencies in addition to R's own packages).