Code Monkey home page Code Monkey logo

devcon-ansible-playbook's Introduction

DevCon Ansible Playbook

This is an Ansible playbook to recreate the DevCon server.

What this installs

  • DevCon web page
  • Old static pages (e.g. Summit)
  • Analytics software (Piwik)

Setup

This script requires a backup file named backup.tar.bz2 on the current folder, ensuring that only the ED, President, or VP Technoology can run this script.

Apart from the backup file, you also need to modify the variables under group_vars/all before running this script.

Once the two are ready, do the following steps to provision a new DevCon server:

  1. Provision an Ubuntu 14.04 server, preferrably a Digital Ocean server in the Singapore data center. Add your SSH key for root access.
  2. Copy hosts.example to hosts and replace the localhost inside with the IP address of the new server.
  3. Run ansible-playbook -i hosts devcon.yml. The script will restart the server at the end.
  4. After the server restart is finished, run ansible-playbook -i hosts devcon-finish.yml to complete the provisioning.
  5. Deploy the DevCon website using Capistrano. See site source for details.
  6. Check if all subdomains are working correctly (default, analytics, summit, etc).
  7. Manually setup the non-open-source backup script.
  8. If you're using Digital Ocean or any VPS that doesn't allocate swap space, allocate the appropriate amount of swap space using this guide.

devcon-ansible-playbook's People

Contributors

bryanbibat avatar

Stargazers

.: HinchK :. avatar schnabear avatar

Watchers

 avatar Terence Ponce avatar James Cloos avatar HaifaCarina avatar Jhonathan Howard avatar

Forkers

firstval

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.