~hristoast/mousikofidi#41: 
Install script

There should be an install script that can be used to automate the process of setting up MousikóFídi.

It should support multiple OSes/distros and should be easy to use.

Status
REPORTED
Submitter
~hristoast
Assigned to
Submitted
5 years ago
Updated
3 years ago
Labels
Enhancement

~hristoast 5 years ago

Comments are based on this rev:

  • I'd like to see a --help option
  • DRY up the usage of the fidi user and group name, and possibly also allow for setting that from an arg
  • Support NO_COLOR
  • Ideally, this should be ran as the application user (including the --user flag)
  • Only 0750 is needed here and here
  • Check for the sv executable and try to do nginx -t && sv reload nginx here
  • The installer branch should have just the files related to the installer, a LICENSE file, and a README. All other files related to the application can get deleted.
Register here or Log in to comment, or comment via email.