Skip to content

otwcode/open-doors-landing-site

Repository files navigation

Deployment

Before you proceed, you will need to install Ansible (https://www.ansible.com/).

  1. Create a file called hosts with the following contents:
[otw]
[[SERVER_NAME]] ansible_ssh_user=[[SERVER_USER]]

Where SERVER_NAME and SERVER_USER are the server DNS host and ssh user for the web server.

  1. Make a copy of variables.yml.example as variables.yml and fill it in with the details of the site you're creating.

  2. Run

$ cd <root of this repo>
$ ansible-playbook scripts/deploy-site.yml -i scripts/hosts --extra-vars "@scripts/variables.yml"

Run locally

gem install bundler:1.15.3
bundle install
rackup -o 0.0.0.0 -p 9292 config.ru

About

Landing site for Open Doors temporary site server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published