We are using the vuejs webpack template. Our target browser is Chrome, you may experience problems with other browsers.
NodeJS v13.7.0
Check with node -v
NPM v6.13.6
NPM is installed with NodeJS. Check with npm -v
cd ketcher/
docker build --tag ketcher .
docker run -d -p xxxx:8002 --name ketcher ketcher
where xxxx
is the port number that you want to serve Ketcher.VUE_APP_KETCHER_URL=http://localhost:xxxx
To get MarvinJS running in the application:
docker pull hub.chemaxon.com/cxn-docker-release/chemaxon/mjs-webservice:latest
#workshop_chemreg
channel in Slack, download it from there and put it in the "marvin" directory at the root of this repository.Dockerfile
in the "marvin" directory:
cd marvin
docker build --tag marvin .
docker run -d -p xxxx:8080 --name marvin marvin
xxxx
is the port number that you want to serve MarvinJS.xxxx
.
VUE_APP_MARVIN_URL=http://localhost:xxxx
Then:
git clone https://github.com/Chemical-Curation/chemcurator_vuejs.git
cd chemcurator_vuejs
npm install
Make a copy of template.env
in project root and call it .env
.
npm run serve
npm run build
npm run test:unit
npm run test:e2e
npm run lint
To test out new features or deploy in production
:
docker build --no-cache . -t chemreg
docker run -p xxxx:8080 -d -l chemreg-ui --restart=unless-stopped chemreg
<- where xxxx is any port you want the container to run on