Giter VIP home page Giter VIP logo

evercam-devops's Introduction

Evercam Development Environment Setup

Install Host dependencies

Clone this repository and it's submodules

git clone https://github.com/evercam/evercam-devops.git && cd evercam-devops
git pull && git submodule init && git submodule update && git submodule status
git submodule foreach --recursive git checkout master
git submodule foreach --recursive git pull

Copy example .env file into required directories

cp .env evercam-api/
cp .env evercam-dashboard/
cp .env evercam-models/

Run Vagrant and ssh into the VM

vagrant up && vagrant ssh

Grab a cup of your favorite beverage, this is going to take some time...

Type the password in console

vagrant

Test that everything is working

cd /vagrant/evercam-api
bundle install
bundle exec rspec
cd /vagrant/evercam-dashboard
bundle install
bundle exec rspec --pattern 'c*/*_spec.rb,h*/*_spec.rb'

You're done!

Now start the API server:

cd /vagrant/evercam-api
bundle exec rackup

And in another terminal tab/window start the Dashboard server:

cd /vagrant/evercam-dashboard
EVERCAM_LOCAL=true bundle exec rails server -b 0.0.0.0

Open http://localhost:3000/ in a browser and you'll see the dashboard of the Next Big Thing™

evercam-devops's People

Contributors

mosic avatar pbrudny avatar

Watchers

 avatar  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.