Setup development environment in VPS #8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rsync
On VPS:
On local machine, create rsync.sh in project's root folder and run it:
Now I can write code locally and upload my code to server automatically.
Flask
Go to /var/www/app/kubeload. Create a virtual environment and install prerequisite packages:
Start the test server:
Caddy
Development server on local machine
During development, open terminals on my local machine and run the following commands.
Start web server
Start npm
Start rsync.sh
Setup development environmentto Setup development environment in VPSProduction server on VPS
in VPS, enter virtual environment:
Install gunicorn:
Start production server:
Check server: