- We recommend this tutorial for getting Wordpress set up locally with MAMP.
- Once you have Wordpress setup locally, delete your local copy of the "twentyseventeen" theme
rm -r /path-to-wordpress/wp-content/themes/twentyseventeen
- Now symlink the theme from this repo into your Wordpress install
ln -s /path-to-sepsis-quiz/twentyseventeen /path-to-wordpress/wp-content/themes/
(note: I'm not a symlink master but they're funny with relative paths. I recommend using the full path for this command).
Now you can develop from this repo (see sepsis-quiz-js/README.md
) and your Wordpress site will update automagically! Fantastic!
From your Wordpress Admin Dashboard (probably located at http://localhost:8888/wp-admin):
- In the left menu select Pages > Add New
- Type in a page name
- In the Page Attributes menu (on the right) select SepsisQuiz as the template.
- Make sure to press Save Draft or Publish!
The files that need to be added to Sepsis Alliance's theme are:
Their functions.php file also needs to be updated with the code inside the if ( is_page_template('sepsis-quiz.php'))
code block.
Check it out on Invision