Skip to content
/ crewing Public

Helps to gather people and plan missions

License

Notifications You must be signed in to change notification settings

cadus/crewing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3682223 · Dec 19, 2018
Dec 19, 2018
Dec 12, 2018
May 17, 2017
Oct 3, 2018
Oct 20, 2018
Oct 2, 2018
Mar 10, 2017
Jan 10, 2017
Feb 21, 2017
Jan 12, 2017
Dec 15, 2016
Mar 9, 2017
May 18, 2017
May 18, 2017
Jan 10, 2017
Oct 3, 2018
Dec 19, 2018
May 29, 2017

Repository files navigation

crewing

Helps to gather people and plan missions

Run devlopment version

Install Node.js and MongoDB. Then clone this repo and run:

npm install

# edit environment variables
cp env.sample .env
vim .env

# depending on your setting, start mongo and put the database in the current dir
npm run mongo

# start keystone
npm start

# change the default users password!

Run in production

git clone https://github.com/cadus/crewing
cd crewing
npm install
pm2 start index.js --name "crewing"

You might need to adjust the firewall (iptable rules)

# http
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
# https
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
# mail / smtp
iptables -A OUTPUT -p tcp --dport 465 -j ACCEPT

Backup and restore the database

# Backup file
mongodump --db crewing --gzip --archive=crewing.gz

# Restore file
mongorestore --gzip --archive=crewing.gz

# Copy between two servers
ssh server1 mongodump --db crewing --archive --gzip | ssh server2 mongorestore --archive --gzip

About

Helps to gather people and plan missions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published