Skip to content

Easy delivery deploy server with Slack notifications

Notifications You must be signed in to change notification settings

orange1337/delivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delivery deploy server with Slack notifications

Manual installation

- node.js v.8^ https://nodejs.org
- sudo npm i -g pm2

Deploy app

- clone repo from github
- cd /delivery
- npm i

Create config.js

For creating config.js file you need to see config.example.js (default config)

deploy.sh script example in root dir

`#!/bin/sh
 dir_name=$1
 cd ~/$dir_name
 git pull
 cd ..
 docker-compose up --build -d`

Start server

`pm2 start server.js`

Other pm2 commands

- pm2 list
- pm2 logs server
- pm2 stop server
- pm2 restart server

About

Easy delivery deploy server with Slack notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published