The informational website for Grinnell AppDev
The site is static generally static. It is intended to run on an Apache
server. To test the site, first build it with yarn build --no-optimize.
Then install Docker, then run
docker-compose up in the project root, which will create an Apache
container with PHP support.
- To automatically rebuild when files are changed, run
yarn start. This skips optimizations because they are slow. - To build with production optimizations, run
yarn build. Optimization is slow, so you generally only want to do this to make sure the optimization hasn't broken your code.
- Run
yarn buildevery time you pull. - Configure your Apache server with
wwwas the document root. - Be sure to add an
Includedirective forconf/site.confin your virtual host configuration.conf/docker-apache.confis a good example of a super basic virtual host config that does this. - Add symlink
src/public/wikithat points to your mediawiki installation. - Optionally add symlink
src/public/archivethat points to an appropriate archive directory.