raywenderlich/dockerized

Name: dockerized

Owner: raywenderlich

Description: Deployment of the server-side Swift sample from RWDevCon '17

Created: 2017-03-06 09:23:11.0

Updated: 2017-03-22 05:10:32.0

Pushed: 2017-03-06 11:30:15.0

Homepage: http://www.rwdevcon.com

Size: 4

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Get up and running

Before you start, make sure your EC2 instance has git, docker, and docker-compose installed.

  1. Log into your EC2 instance
  2. Run git clone https://github.com/raywenderlich/dockerized.git
  3. Update the .env file
  4. Run docker-compose pull
  5. Run docker-compose up -d db to start just PostgreSQL and let it complete it's first-launch initialization
  6. After a few seconds, run docker-compose up -d to spin up the webapp

From then on you can simply use docker compose up -d and docker compose down to manage the state of the containers.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.