piku / piku

The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.
http://piku.github.io
MIT License
5.81k stars 134 forks source link

Question: how to upgrade piku? #385

Closed dapicester closed 1 month ago

dapicester commented 1 month ago

It seems there are no instructions to upgrade piku. I needed access to the DATA_ROOT variable from #360 but that was added only recently.

I checked the ansible playboook and it seems that ones only need this:

 - name: Fetch piku.py script
      get_url:
        url: https://raw.githubusercontent.com/piku/piku/master/piku.py
        dest: ~/piku.py
        mode: 0700

At least, I did only that on my piku instance and it seems work well.

The questions: is the above correct? Is it possible to add to the documentation and/or to the ansible playbook?

rcarmo commented 1 month ago

Yes, that is correct. Adding it to the docs/playbook will eventually happen...

On 14 Oct 2024, at 14:32, Paolo D'Apice @.***> wrote:

It seems there are no instructions to upgrade piku. I needed access to the DATA_ROOT variable from #360 https://github.com/piku/piku/pull/360 but that was added only recently.

I checked the ansible playboook https://github.com/piku/piku-bootstrap/blob/main/playbooks/piku.yml and it seems that ones only need this:

The questions: is the above correct? Is it possible to add to the documentation and/or to the ansible playbook?

— Reply to this email directly, view it on GitHub https://github.com/piku/piku/issues/385 or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC732ZNKRCQKJ5KA5CRID3Z3PBWPBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBVGQ3TOOBZGY2IFJDUPFYGLJLJONZXKZNFOZQWY5LFVIZDKOBWGA3DMMBTGWTXI4TJM5TWK4VGMNZGKYLUMU. You are receiving this email because you are subscribed to this thread.

Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

chr15m commented 1 month ago

Also you can run piku update (or SSH in as Piku with the argument 'update').