Giter Site home page Giter Site logo

farcry-env-chelsea's Introduction

Chelsea: Workbench Installation

FarCry workbench for Chelsea project development.

Setting up the Daemonite Vagrant Workbench

This only needs to be the once per workstation. If you already have a working Vagrant environment you can skip this part.

  1. Install VirtualBox: https://www.virtualbox.org/wiki/Downloads
  2. Install Vagrant http://www.vagrantup.com/downloads.html
  3. Install vagrant-hostmanager plugin: vagrant plugin install vagrant-hostmanager

Setting Up Project Environment

Requires an existing installation of the standard Daemonite Vagrant Workbench.

git clone https://github.com/modius/farcry-env-chelsea.git
cd farcry-env-chelsea
git submodule update --init
vagrant up

Running the Workbench

Starting the App

Change directory to the root of the project and vagrant up.

Site access:

To restart Lucee server vagrant ssh onto the virtual:

sudo /etc/init.d/lucee_ctl restart

The website listens for *.vagrant.com host headers so vagrant share should work :)

Refreshing Database

This VM installs the project database from the install files in the project. Therefore re-exporting and committing the installation files is equivilent to updating the development environment.

To refresh the database in the Vagrant VM it's easiest to DROP and CREATE the database.

vagrant ssh
mysql -u root
...
mysql> DROP DATABASE projectdatabase;
Query OK, 82 rows affected (0.08 sec)
mysql> CREATE DATABASE projectdatabase;
Query OK, 1 row affected (0.00 sec)
quit

Then http://localhost:8080/webtop/install to reinstall FarCry app.

Simple Deployment Pipeline

Assuming you have an existing installation on a production Ubuntu box you can update the environment to the exact tags and/or branches nominated in the project ./install/deploy.txt file by running the update.yml playbook.

  1. check code into repo
  2. Logon to production server: ssh -i ~/.ssh/projectname.pem [email protected]
  3. Run update playbook sudo ansible-playbook -c local /opt/provision/provisioning/update.yml

farcry-env-chelsea's People

Contributors

modius avatar seancoyne avatar

Watchers

 avatar  avatar James Cloos avatar

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.