To setup on a new server, git clone this repository and mup deploy, following the steps below:
-
git clone https://github.com/clarali210/OncoText_Web.git -
Install the necessary dependencies:
meteor npm install --save @babel/runtime react react-mounter prop-types material-ui react-tap-event-plugin react-csv react-checkbox-group react-dom react-toggle react-dropzone. You can check if it runs locally withmeteor runand navigating tolocalhost:3000in your browser -
We are going to deploy the meteor app using
meteor-up. Runmup setup, navigate into the.deploydirectory, and editmup.jsaccording to your server settings (refer to http://meteor-up.com/docs.html and our example). Entermup deployto deploy the app. You might need to change root permissions on your server withsudo visudoand replace%sudo ALL=(ALL:ALL) ALLwith%sudo ALL=(ALL:ALL) NOPASSWD:ALLto deploy the webapp successfully. -
And you're done! Navigate to your server domain in your browser (preferably Firefox or Safari) and you'll be ready to go!
-
Remember to
mup deployafter your changes (for ex. adding more diagnoses to extractions.json).