-
Notifications
You must be signed in to change notification settings - Fork 61
Deploy Prototype Website
Mark Woon edited this page Jul 27, 2022
·
6 revisions
This will deploy a prototype of the PharmCAT website using the surge service. This prototype will be published to public a URL so they can be shared with anybody.
First, checkout the PharmCAT repo.
If you plan on running things directly:
- Install Ruby runtime
- Install surge CLI
If you plan on running with Docker:
-
create Jekyll Docker image:
make jekyllDocker -
run Jekyll Docker in interactive mode:
make jekyllThis allows you to run the commands below. To exit interactive mode, just type
exit.
Starting from the PharmCAT directory:
cd docs-
make setup(only needs to be run once) make build-
surge _site --domain <subdomain>.surge.sh- choose a
subdomainof your choice (e.g.<your_userid>-pcat.surge.sh) - follow prompts to sign in to surge
- choose a
- Prototype published, go to the URL from the previous step to view it
To make the docs available for everyone instead of your own local site:
cd docs-
make setup(only needs to be run once) make next