-
Notifications
You must be signed in to change notification settings - Fork 12
Development Setup
(You may skip this step and proceed to running the app locally if you do not want to use a virtual box)
Download Vagrant from (https://www.vagrantup.com/downloads) (vagrant will be added to system path and be available from the command line)
Download VirtualBox from (https://www.virtualbox.org/wiki/Downloads) (provider for Vagrant)
In the root directory of your app, run the following commands to spin up your box:
$ vagrant up (this may take a while)
$ vagrant ssh
Proceed to next steps to run the app, and if everything worked you should be able to see the application at http://localhost:4000/ in your favorite browser.
Once you have the .env file setup, run bundler from the command line:
$ bundle
create/migrate the database:
$ rake db:create && rake db:migrate
and start the server:
$ rails s
If everything worked you should be able to see the application at work at http://localhost:3000/ in your favorite browser.
The testing framework used is Rspec and Capybara. To run them:
$ rspec
General
› [Home] (https://github.com/anirudh-eka/dashtag/wiki)
› [Contributing]
Deploy to Heroku
› [Get Started] (https://github.com/anirudh-eka/dashtag/wiki/Deploy-to-Heroku)
Development Setup
› [Setup .env File] (https://github.com/anirudh-eka/dashtag/wiki/Setting-up-.env-file)
› [Setup VirtualBox] (https://github.com/anirudh-eka/dashtag/wiki/Development-Setup#setting-up-your-virtual-box)
› [Setup Locally] (https://github.com/anirudh-eka/dashtag/wiki/Development-Setup#running-the-app-locally)
Environment Variables
› [Reference] (https://github.com/anirudh-eka/dashtag/wiki/Environment-Variables)