This is the source for the Presterity web site.
This is a static web server that retrieves pages from the Presterity wiki and renders them on the server-side using React components.
At the moment, all pages are rendered nearly entirely on the server.
We prefer using Yarn for installs.
yarn install
(preferred) ornpm install
yarn build
(oryarn watch
, for watched builds)node server/app
This will run the site at http://localhost:8000/.
Our deployed site is hosted at Heroku. If you need to deploy, you'll need to be invited as a collaborator.
-
In your local Git clone of this repo, add a remote for
production
:git remote add production https://git.heroku.com/presterity.git
-
All deployments are done from the
master
branch, which by definition should always be in a deploy-able state. -
Deploy by pushing to the
production
remote:git push production