Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.
/ dashing-vagrant Public archive

Vagrant Virtual Development Environment for Shopify's Dashing Dashboard Framework

License

Notifications You must be signed in to change notification settings

lynnaloo/dashing-vagrant

Repository files navigation

Dashing-Vagrant

Vagrant is open-source software used to create lightweight and portable virtual development environments. Vagrant works like a "wrapper" for VirtualBox that can create, configure, and destroy virtual machines with the use of its own terminal commands. Vagrant facilitates the setup of environments without any direct interaction with VirtualBox and allows developers to use preferred editors and browsers in their native operating system.

This setup will create a Dashing Ruby on Rails development environment with a sample dashboard.

Install Vagrant

Clone this dashing-vagrant respository (or a fork) to a directory on your host machine:

host $ git clone https://github.com/<username>/dashing-vagrant.git

Connect to the Virtual Machine

Start the virtual machine:

host $ vagrant up

Connect to the virtual machine via ssh:

host $ vagrant ssh

Bundle the Ruby gems:

vagrant $ cd dashing
vagrant $ bundle install

Setup environment variables:

  • Make a copy of the sample.env file named .env in the project root
  • Edit the .env file and enter the required tokens

Start the Dashing server

vagrant $ dashing start

See the Sample Dashboard

Launch your local browser and navigate to application using localhost http://localhost:3030 or the static IP Address of the virtual machine http://192.168.33.12:3030

About

Vagrant Virtual Development Environment for Shopify's Dashing Dashboard Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published