Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 1.53 KB

README.md

File metadata and controls

75 lines (59 loc) · 1.53 KB

Get started with the DOME Registry

Our repository is devided into 3 parts:

  • dome-registry-core (shared logic between frontend and backend)
  • dome-registry-ui (backend)
  • dome-registry-ws (frontend)

Installation

Clone the github Repository

git clone [email protected]:BioComputingUP/dome-registry.git
cd dome-registry

1. Install dependencies for dome-registry-core

cd dome-registry-core/
nvm use
npm install
# Create a symlink in the global node_modules
npm link
cd ..

2. Install dependencies for dome-registry-ui

cd dome-registry-ui/
nvm use
npm install
#Link the core repo for the connection between the frontend and the backend
npm link dome-registry-core
cd ..

Build UI (to be served by Apache or nginx)

npm run build-dev
# This command will produce a 'dist' folder with index.html and associated files. Point the Apache virtual host or nginx server block to the 'dist' folder to serve it properly in a production environment

3. Install dependencies for dome-registry-ws

cd dome-registry-ws/
nvm use
npm install
# Link the core repo for the connection between the frontend and the backend
npm link dome-registry-core
cd ..

launching the frontend and the backend

frontend

cd dome-registry-ui
nvm use
npm run start-dev
# open http://localhost:4200/

Backend

cd dome-registry-ws
nvm use
npm run start:dev

License

MIT