run index.js
sudo node index.js
-
clone at ~/biarbala
-
set environment variables
logger_level = prod
andacme_server = prod
in.env
file -
mount your sites storage device to
/path/to/biarbala/data
directory -
run
index.js
usingpm2
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}
sudo ./uninstall.sh
you can set app_workers
environment variable in .env
file.
.env.template
is a template with possible variables to set
logs are at ~/.pm2/logs/
TODO: implement. scripts to run and does something to deployments