Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add one-click install script for project #10

Merged
merged 1 commit into from Sep 7, 2017

Conversation

Projects
None yet
3 participants
@c-w
Copy link
Member

commented Aug 18, 2017

The featureService is not super easy to set up: one must install postgres, postgis, populate the database, install the node service, etc. As such, it's worth automating the process to make it easier to set up a
new instance of the featureService; that's what the new install.sh script does.

The script installs postgres and the featureService app on the same host so that we don't have to manage multiple servers for the database and application layers. The featureService is exposed over port 80 so that postgres's port can be hidden in the firewall and we don't have to worry about securing the database.

An alternative to the install.sh script that I considered was using Docker. However, Azure Web Apps for Linux doesn't seem to support docker-compose yet and it would be an anti-pattern to have a single Docker image that contains the database and the application. So for now, the good-old bash script to set up a new machine will have to do.

Add one-click install script for project
The featureService is not super easy to set up: one must install
postgres, postgis, populate the database, install the node service, etc.
As such, it's worth automating the process to make it easier to set up a
new instance of the featureService; that's what the new `install.sh`
script does.

The script installs postgres and the featureService app on the same host
so that we don't have to manage multiple servers for the database and
application layers. The featureService is exposed over port 80 so that
postgres's port can be hidden in the firewall and we don't have to worry
about securing the database.

@c-w c-w requested a review from timfpark Aug 18, 2017

@c-w c-w added the in progress label Aug 18, 2017

@timfpark timfpark self-assigned this Aug 18, 2017

@jcjimenez
Copy link
Contributor

left a comment

LGTM

@c-w c-w merged commit 15d7a86 into master Sep 7, 2017

@c-w c-w deleted the install-script branch Sep 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.