force1267 / biarbala

static website host

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

biarbala.ir

just run

run index.js

sudo node index.js

prodoction

  • clone at ~/biarbala

  • set environment variables logger_level = prod and acme_server = prod in .env file

  • mount your sites storage device to /path/to/biarbala/data directory

  • run index.js using pm2 process :

  • just run

chmod +x install.sh
./install.sh
  • or you can do it manually
npm run pm2 start index.js --name biarbala
  • change the password of www deployment. biarbala.ir/password/www/superman/{newpass}

uninstall

sudo ./uninstall.sh

cluster

you can set app_workers environment variable in .env file.

.env

.env.template is a template with possible variables to set

pm2

logs are at ~/.pm2/logs/

scripts

TODO: implement. scripts to run and does something to deployments

About

static website host


Languages

Language:JavaScript 56.7%Language:HTML 39.2%Language:Shell 4.1%