Development for Co Name
- Nodejs - https://nodejs.org/en/ ( check install success:
node -v
) - javascript-obfuscator -
npm install -g javascript-obfuscator
- Install Apache Tomcat at https://tomcat.apache.org
- GIT PULL ORIGIN
- php production.build.php
- mv files from production to www root folder
- Create/update .env file in www root folder
- Copy
deploy.production.sh
to new server - Set value for
ROOT_DIR
: directory to checkout source code,ARCHIVE_DIR
: directory to archive old production,PRDS_DIR
: directory to deploy new production - Open terminal and run
chmod +x deploy.production.sh
./deploy.production.sh