-
Book Overview & Buying
-
Table Of Contents
Learning Single-page Web Application Development
By :
Since we're using the MEAN.JS generator, we have a file available in the application root folder named .travis.yml. We can use it for the initial setup on Shippable; however, we will create a new file.
Travis is another tool for continuous integration in open source projects, which is directly integrated with GitHub. More information is available at http://docs.travis-ci.com/.
To create the file, follow these steps:
Open the project and add a new file in the root folder named .shippable.yml.
Paste the following code and save the file:
language: node_jsnode_js: - "0.10" env: - NODE_ENV=travis services: - mongodb after_success:- git push [email protected]:<some name>.git master
The last command in this file, after_success, receives the Git Heroku URL that was copied in step 7 of the Setting up a Heroku account section. After all the commands have run successfully, this line confirms the automatic deployment. However, one last action is required, that is, adding another...
Change the font size
Change margin width
Change background colour