Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lando services for install and htaccess #14

Open
UTCGilligan opened this issue May 8, 2023 · 1 comment
Open

Add Lando services for install and htaccess #14

UTCGilligan opened this issue May 8, 2023 · 1 comment

Comments

@UTCGilligan
Copy link
Contributor

UTCGilligan commented May 8, 2023

As in UTCBlogsMultisite:

services:
  appserver:
    run:
      - cd $LANDO_MOUNT && composer install
      - cd $LANDO_MOUNT && cp htaccess.example .htaccess
      - cd $LANDO_MOUNT && cp user/config-sample.php user/config.php

Htaccess gets built during the YOURLS install script, so see what command runs it and see if it can be scripted for #3 Deployment.

Config will require environment variables #3 for local, test, prod; maybe hold that until later.

Are there any others needed for initial install?

@UTCGilligan
Copy link
Contributor Author

UTCGilligan commented Dec 15, 2023

At this point, deploy is relatively easy (but manual):

  • Cut a new release
  • Open Virtualmin Terminal in the VM, or log in to a virtualmin server and sudo su username, cd ~
  • wget the address of the new release zipfile.
  • unzip the zipfile
  • rsync -avI utctiny-x.x/ public_html where x.x is the release version
    • this will overwrite all files except the environment-specific configs
  • If it's an update to Sleeky Backend theme/plugin, you may need to Deactivate and Activate the Sleeky Backend Plugin to refresh the backend theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant