chemotion-converter-client
v0.5.0
Published
converter-client ================
Downloads
64
Readme
converter-client
React client for the converter-app.
Development setup
We recomment to use the nove version manager to install node.js and npm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
After following the instructions in the installation script, nvm
should be available. The application can then be transpiled using:
nvm install
npm install
npm run build
While developing, the webpack-dev-server
can be used to update the application on-the-fly:
npm run serve
Production setup
For the production setup, the URL of the running converter-app needs to be provided as environment variable:
nvm use
CONVERTER_APP_URL=https://example.com/api/v1 npm run build:prod
After building the production setup, the files in public
can be copied to the webserver:
rsync -av public/ [email protected]:/var/www/public/
Acknowledgments
This project has been funded by the DFG.
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI4Chem – Projektnummer 441958208 since 2020.