ssh SERVER_USERNAME@SERVERIP
To upload the zipped pixer-api
and deployment
files to server you need to run the below command form your pixer project root
while running below command you will asked for enter your server
username
andip address
by entering and a successful connection you will also asked for enter yourpixer-api.zip
anddeployment.zip
files path and the path will be look like/home/your_project_folder_path/pixer-laravel/pixer-api.zip
for pixer-api.zip file so forth fordeployment.zip
bash deployment/deployment.sh
Then login your server using ssh
and,
bash /var/www/pixer-laravel/deployment/nodesetup.sh
zx /var/www/pixer-laravel/deployment/setenv.mjs
sudo zx /var/www/pixer-laravel/deployment/backendbuildscript.mjs
Run the below command from your pixer-laravel project root
zx deployment/frontendbuildscript.mjs
zx /var/www/pixer-laravel/deployment/frontendrunscript.mjs