aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/post-deploy.sh
AgeCommit message (Collapse)Author
2018-11-21Add license (mostly GNU AGPLv3+)Teddy Wing
License the software with the GNU AGPLv3+ with the exception of the 'aquatic-prime' and 'paddle' libraries and 'aquatic-prime' binary, which are licensed under the GNU GPLv3+.
2018-11-20deployment: Use normal .htaccess instead of `production-config` oneTeddy Wing
When I removed the environment variables from the `.htaccess` file in 7d7ac8d747be198088664e45e5423919d9876651, it no longer needed a corresponding `production-config` counterpart. Use the one tracked in the repository instead.
2018-11-20post-deploy.sh: Restart FastCGI processesTeddy Wing
2018-11-20Add deployment scriptTeddy Wing
To deploy, run $ make deploy This checks prerequisites and runs `scripts/deploy.sh`. Makefile: Include a new target that builds the Rust binaries for Linux using Docker. The script `rsync`s the website files to the server, moves some files around on the server, and runs the database migrations. Currently I'm getting an error at the database migration stage, as it seems I can't use `UTC_TIMESTAMP()` as a default column value. Need to correct that to get a clean deployment.