synshop / membership.synshop.org

External Membership Management System for SYN Shop
GNU General Public License v3.0
0 stars 0 forks source link

fill out config.py files on dev and prod #12

Closed mrjones-plip closed 11 months ago

mrjones-plip commented 1 year ago

these need to be filled out and I don't know how on new-lagos:

@munroebot - be sure to use user membership. so

  1. SSH to munroebot@new-lagos.synshop.org
  2. be root: sudo su -
  3. Edit /etc/systemd/system/membership-dev.service and /etc/systemd/system/membership.service to have correct ENCRYPTION_KEY values
  4. Update two config files (see bullets above) with correct values
  5. Reload services: systemctl restart membership&&systemctl restart membership-dev
  6. check /var/log/membershp*log for any errors

lemme know if you get stuck! (not sure if you know your sudo password for example...)

munroebot commented 1 year ago

I'm not sure we need a dev instance on new-lagos? We already have it hosted on the VM thing that runs shopid-dev

munroebot commented 1 year ago

Also, I am thinking about redoing the branches - prod and devo

mrjones-plip commented 1 year ago

I realized you used the same technique for membership as you did for ShopID, so I just copied over valid encrypted values for everything with the password as CHANGEME. While obviously nothing will work, I was able to start the server up. So all you need to do is update the config.py and update the service file. I've updated the body of the ticket to be correct!

munroebot commented 1 year ago

Dev is done, working on Prod