-
Notifications
You must be signed in to change notification settings - Fork 6
DigitalOcean strapi
Sergey Lukin edited this page Jan 15, 2021
·
1 revision
Project info
I use purest DigitalOcean droplet, more details: https://strapi.io/documentation/developer-docs/latest/installation/digitalocean-one-click.html
Once installed and with SSH shell, I perform following:
-
Make sure I work as "strapi" user and not as "root" - add following to
EDITOR=vim visudo
:strapi ALL=(ALL) NOPASSWD:ALL
which lets me perform most tasks under normal user while easily elevating if needed. This alone may save a LOT of time, otherwise it's enough to open and save some file once as "root" and realize what a hell it may be to trace it down and get back to good life.
-
https://bigbinary.com/blog/configure-postgresql-to-allow-remote-connection
-
https://linuxize.com/post/how-to-add-user-to-sudoers-in-ubuntu/
TBD