Skip to content

Online collaborative Whiteboard that is simple, free, easy to use and to deploy

License

Notifications You must be signed in to change notification settings

lkmSasanga/whitebophir-old

 
 

Repository files navigation

WBO

Создание базы

db.boards.createIndex({"name" : 1}, {"unique" : true});

Полезные команды

Узнать PID процессов слушающих указанный порт lsof -t -i:8080

Убить процессы слушающие указанный порт kill -9 $(lsof -t -i:8080)

Пример скрипта деплоя

cd /home/forge/app.sboard.su
git checkout -- .
git clean -f
git pull --rebase origin master 
npm install --production
pm2 reload wbo --update-env
echo 'OK'

Запуск сервисов

pm2 start ./server/server.js -a --name wbo --wait-ready --watch --ignore-watch="node_modules"
pm2 start ./index.js -a --name pdf --wait-ready --watch --ignore-watch="node_modules"

About

Online collaborative Whiteboard that is simple, free, easy to use and to deploy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.7%
  • HTML 18.6%
  • CSS 6.4%
  • Other 0.3%