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 run
and navigating tolocalhost:3000
in your browser -
We are going to deploy the meteor app using
meteor-up
. Runmup setup
, navigate into the.deploy
directory, and editmup.js
according to your server settings (refer to http://meteor-up.com/docs.html and our example). Entermup deploy
to deploy the app. You might need to change root permissions on your server withsudo visudo
and replace%sudo ALL=(ALL:ALL) ALL
with%sudo ALL=(ALL:ALL) NOPASSWD:ALL
to 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 deploy
after your changes (for ex. adding more diagnoses to extractions.json).