freethlua / individualogist-whats-your-archetype

http://archetype.individualogist.com
0 stars 1 forks source link

Continuous integration on individualogist.com server #13

Closed freethlua closed 7 years ago

freethlua commented 7 years ago

Continuously updating code on individualogist.com server is currently bit of a chore.

Currently, in order to update the code on individualogist.com server, I do the following:

  1. SSH into the server

    • Since i have dynamic IP I have to add it to the firewall through cpanel whenever it changes

      Allowing all IPs to SSH would be helpful, and the risk it poses can be mitigated by only allowing SSH through private keys (I've set up one for myself on the server already) instead of password.

  2. Do a git pull

To allow automatically updating the code on server whenever I push code to this (or bitbucket) repository from my machine, either of the following is needed on the server:

Both require installation (sudo) which isn't allowed on current server, it requires a dedicated host.

This is currently already possible on github.io demo so please refer to that for an always-latest demo (in case I wasn't able to update indivialogist server).

PS: Aweber is disabeled on github demo, it only works when redirect URL is individualogist.com

zhixinlin commented 7 years ago

Hi Freeth,

No worries - will refer to the github.io demo instead from here on out. Do whatever you need to do to make your job easier. Thanks!