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)

  1. ssh into your personal VM. Then install push109: sudo snap install push109
  2. Mark the installation as a server with push109.p109c ass
  3. Save your server details (email, domains) with push109.p109c usd email domain1 domain2
  4. Restart the push109 server process with snap start push109.p109s
  5. Make sure in your firewall that ports 80, 443, 43897 are open
  6. Get your key for pushing with push109.p109c pk
  7. On your laptop. Create a push109 config with push109 cc ip_address key name. Use the key gotten from the previous step.

Project Setup

  1. Copy this make file and place in your project folder. Edit it to your own project
  2. 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
  3. Run the script any time you want to push with make push
  4. 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:

  1. service - which contains what was pushed with push109 p command
  2. statics - which contains what was pushed with push109 pps command
  3. tls - which contains files from letsencrypt. Try not to toy with this folder.
  4. logs - which contains logs files copied from the default print of the webservice pushed with push109 p command