2.1 KiB
2.1 KiB
Build for Production
Note about setting up for contributing, then skip X
Overview?
Build Machine Requirements
Get a Copy of the source
With Git:
# Clone the remote repository to your local machine
git clone https://github.com/OHIF/Viewers.git
# Make sure the local code reflects the `react` version of the OHIF Viewer
git checkout react
More on: git clone,
git checkout
From .zip:
Restore Dependencies?
...
Configure?
...
- env vars
REACT_APP_*- config file(s)
Build
From your projects
yarn run build:web
file tree of project, highlighting contents in `/buld`
Next Steps
Deploying our Production Build
TODO: List of recipes
Automating Builds and Deployments
If you found setting up your environmnent and running all of these steps to be a bit tedious, then you are in good company. Thankfully, there are a large number of tools available to assist with automating tasks like building and deploying web application. For a starting point, check out this repository's own use of: