A small Wordpress instance that hosts forms for creating RT tickets. Hopefully a temporary solution - once the staff intranet gets a facelift, the forms can be moved there without a tremendous amount of effort.
To get this app up and running on your local machine, follow these steps:
- Create a directory called
rt-forms
or something like that. This will be our root directory. cd into it. - Git clone this repository
- Git clone all repositories listed in the
ALL_GIT_REPOSITORIES
variable indeploy/config.sh
. It is incumbent on you to check out the branches/tags you want to work on for these repositories. cd wp-rt-forms/deploy
- Download Google Cloud credentials by running
./cmds/init-reader-key.sh
- Set up local environment with
./cmds/init-local-dev.sh
- Build your local docker images with
./build-local-dev.sh
- Generate deployment files with
./cmds/generate-deployment-files
. This will make the directorywp-rt-forms-local-dev
. If you want to customize the port or similar settings, you can create an.env
file here. cd wp-rt-forms-local-dev
and thendocker compose up
- Ensure your config.sh has the correct versions.
- Check in and tag your changes with git.
- Run submit.sh to build your images in Google Cloud.
- ssh veers.library.ucdavis.edu
- cd /opt/wp-rt-forms && git pull
- docker compose pull
- docker compose down && docker compose up -d