Skip to content

ProgrammingDaisukiClub/WPCS2_devenv

Repository files navigation

WPCS2_devenv

Development environment for WPCS2 using Vagrant + Ansible

Usage

Setup environment

First, init and up your box.

vagrant up

Then, ssh to the box.

vagrant ssh

Before the setting up, you need to install Ansible.

/vagrant/init.sh

Finally, run Ansible.

sudo ansible-playbook -i /vagrant/develop /vagrant/playbook.yml 

You have to logout / login to the box again for applying changes on ~/.bashrc.

Instructions for developing WPCS2

  1. Clone WPCS2 to WPCS2_devenv/WPCS2 (Do it on host)
  • On VM, you can access host's folder WPCS2_devenv/ as vagrant/
  1. ssh to VM
vagrant ssh
  1. cd to WPCS2 directory
cd vagrant/WPCS2
  1. Install gems
bundler install
  1. Install node packages
npm install
  1. Serve the app
rails server
  1. Access to the app on your browser

Happy developing!

About

Development environment for WPCS2 using Vagrant + Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages