You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let {PROJECT PATH} as /var/www/{YOUR PROJECT NAME}.com/
$ cd {PROJECT PATH}/conf/uwsgi/
$ mv mysite.ini {YOUR PROJECT NAME}.ini
$ vi {YOUR PROJECT NAME}.ini
:%s/mysite/{YOUR PROJECT NAME}/g
$ cd {PROJECT PATH}/conf/nginx/
$ vi nginx.dev.conf nginx.prod.conf
:%s/mysite/{YOUR PROJECT NAME}/g
Edit value of worker_processes to grep processor /proc/cpuinfo | wc -l
Edit value of worker_connections to ulimit -n
Commentify Redirect HTTP to HTTPS block if you will not use SSL
Commentify Redirect www to non-www block if you will not redirect www to non-www
$ cd {PROJECT PATH}/
$ vi package.json [Edit input]
:%s/mysite/{YOUR PROJECT NAME}/g
Fill out sensitive data
$ cd {PROJECT PATH}/conf/
$ cp -R sensitive-data/ sensitive/
$ vi configuration.ini [Fill out variables]
$ vi remote_server.pem [Fill out public certificate of remote server]