a wordpress theme for showcasing beautiful neuroanatomy pictures and pedagogy
- NodeJS & yarn or npm
- Docker & docker-compose
Clone the repository and install its dependencies:
git clone https://github.com/watzek/brainbow.git
cd brainbow
yarn # or npm install
Open your favorite web browser. Then, run a development server with:
yarn run # or npm start
Wait a few moments and your browser should open a tab to http://localhost:3000. If you've just cloned the repository, you'll need to navigate to http://localhost:3000/wp-setup and set up wordpress. Then, you can log in at http://localhost:3000/wp-admin.
You can make changes to the files in the theme/
folder and your changes should appear automatically. Sass files in theme/sass/
and javascript in theme/js/
will be compiled and minified as you work.
See the wiki for more detailed information about how to control content on the site.
The theme is deployed using the WP Pusher plugin. When commits are merged to master, the newest version is automatically pushed to the production WordPress instance.
We use SemVer for versioning. For the versions available, see the tags on this repository.