You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deployment is triggered when something is pushed on [deployment](https://github.com/coderbunker/inventory-server/tree/deployment) branch using [codeship](http://codeship.com/).
4
+
5
+
The server hosting the deployment runs the webapp using pm2 as suggested in [this tutorial](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04).
#### Allow host's ssh keys to access this repository
21
+
The host needs to have read access on this reposit to download the deployment branch.
22
+
23
+
Add the ssh keys of the new host (the content of the file: ~/.ssh/id_rsa.pub) on the "[Deploy keys section](https://github.com/coderbunker/inventory-server/settings/keys)".
24
+
25
+
Before the first deployment, the reposit has to be downloaded and the deployment branch must be checkout.
The website is published on the domain name url.coderbunker.com
32
+
33
+
The deployment is automatically triggered when something is pushed on the [deployment branch](https://github.com/coderbunker/inventory-server/tree/deployment).
34
+
35
+
19
36
# Contribution
37
+
20
38
## Use pull request
21
39
Avoid pushing straight to the master branch any code that needs review.
22
40
Please follow the following steps.
@@ -43,38 +61,3 @@ Please follow the following steps.
43
61
git branch -d my_branch #if you don't need that branch anymore you can delete it
44
62
## other information
45
63
the project is structured around [expressjs](https://github.com/expressjs/express)
46
-
# Deploy
47
-
To deploy inventory-server you need an account a [heroku account](https://signup.heroku.com/dc?_ga=2.174119140.795848951.1511268290-1509905748.1509873833)
0 commit comments