The Reboo is an internal network tool that allows the construction of action pages by teams of mobilization networks. In short, through the Reboo you communicate for free from the internet all public mobilization, and convince people to act.
Hub Client app depends on the host name to decide how to behave, considering this you should setup a wildcard DNS domain on the development environment.
npm install
npm run dev
And you are done!
As simples as:
npm run test
Now sit and relax.
If you want to test a single file you can temporarily change the first line of webpack.test.config.js
to:
var context = require.context('./app/scripts/tests', true, /MyComponentTest\.jsx/);
We have now two environments, staging and production, hosted by Heroku. All you have to do is to push changes to the master branch of these Heroku repositories, and it will be automatically deployed.
Add staging and production environments into your list of remote repos:
git remote add staging https://git.heroku.com/hub-client-staging.git
git remote add production https://git.heroku.com/hub-client.git
Commit your changes to the desired environment:
git push staging master
git push production master