Guide to Install Our investra on VPS Automated Setup

Upload admin and deployment project to Virtual Server form Local PC - RUN

To upload the zipped admin and deployment files to server you need to run the below command form your investra project root.

Please follow the below steps,

  1. Extract the investra package that you download from CodeCanyon.
  2. After that you see two zip files called 'core.zip' and 'deployment.zip' and documentation folder.
  3. Now extract the core.zip file to the core folder.
  4. now you'll get the admin.zip file on core folder.

As You can see the folder structure like below,

investra
├── documentation
├── core
│   └── admin.zip
├── local_deployment
└── deployment.Zip

while running below command will asked for enter your server username and ip address by entering and a successful connection will also asked for enter your admin.zip and deployment.zip.

Info

Ensure that you have a domain for your admin panel. Recommended like app.YOURDOMAIN.COM.

Now start the deployment script from your investra project root:

  1. Open a terminal window.
  2. Connect to your server and deploy the 'admin' and 'deployment' files to your server.
  3. Run the below command from your investra project root
bash local_deployment/deployment.sh

Note: When uploading or unzipping the files to your server it will tell you that Enter your password on every time. Which is your server root password for your server and you should enter your server root password.

After that you will see the below message on your terminal if you have successfully uploaded the files to your server,

Server Environment setup script - RUN on server

Access the server and run the below command

ssh YOURNAME@YOURSERVERIP

Example: ssh root@000.000.000.000

Then run the below command

bash /var/www/investra/deployment/nodesetup.sh

Nginx Setup And Settings - RUN on server

zx /var/www/investra/deployment/setenv.mjs

Backend build - RUN on server

zx /var/www/investra/deployment/backendbuildscript.mjs

After successfully build the backend then serve the application from your main domain app.YOURDOMAIN.COM

Follow the graphical instruction from the documentation.

Conclusion

Congratulations! You have successfully installed our investra on your VPS. If you have any questions, please contact our support team.