push109
push109 is used to reload a webservice (website) on a VM.
push109 can be used with any server renting platform (cloud)
It's a command line app.
push109 is Donation based. You can start free and send any donation you think is enough.
Personal VM Setup (one-time)
- ssh into your personal VM. Then install push109:
sudo snap install push109
- Mark the installation as a server with
push109.p109c ass
- Save your server details (email, domains) with
push109.p109c usd email domain1 domain2
- Restart the push109 server process with
snap start push109.p109s
- Make sure in your firewall that ports 80, 443, 43897 are open
- Get your key for pushing with
push109.p109c pk
- On your laptop. Create a push109 config with
push109 cc ip_address key name.
Use the key gotten from the previous step.
Project Setup
- Copy this make file and place in your project folder. Edit it to your own project
push:
rm -rf ~/snap/push109/common/project1/
go build -o ~/snap/push109/common/project1/ .
cp -r statics/ ~/snap/push109/common/project1/
push109 p project1 conf.json
- Run the script any time you want to push with
make push
- Make sure there is only one executable in your project folder.
Push109 Folder Details
push109's folder is /var/snap/push109/common/ which is gotten from snapcraft.
Gotten from the SNAP_COMMON environment variable for push109.
4 folders should be inside:
- service - which contains what was pushed with push109 p command
- statics - which contains what was pushed with push109 pps command
- tls - which contains files from letsencrypt. Try not to toy with this folder.
- logs - which contains logs files copied from the default print of the webservice pushed with push109 p command