RPI Student Government's main website. A basic wordpress site with a theme. The project is structured as a docker image, in order to update wordpress, the docker image should be rebuilt and redeployed. Wordpress plugins should be installed to the /wp-content/plugins
directory.
A docker-compose.yml is included for convenience
- Install Docker and Docker-compose
- Run
docker-compose up
in the project directory, a wordpress instance with the wp-content directory mounted will be started along with a mariadb database - Visit http://localhost:8000 and perform initial wordpress configuration
- Run the site locally
- install npm
- change to the
wp-content/themes/wtg-theme/
directory - run
npm install
- run
npx node-sass ./assets/sass/style.scss ./assets/css/style.css
to rebuild css