This is a getting started guide to run the EKT database viewer designed by Dr. Timothy Tangherlini (UCLA)
and Pete Broadwell (UCLA). React Application was created by Daniel Huang (UCLA).
- Install node.js which comes with npm, a JS package manager.
- On terminal, run
npm
to check if node has been successfully installed - Once installed, navigate to repository directory (i.e.
C:/Users/[username]/Desktop/Nexus2
) and runnpm install
- After all packages have been installed, run application with
npm start
- Once server is successfully running, open on browser at
localhost:3000
- If you are having fail to compile errors, it is likely that npm and node cannot compile ES6. Be sure they are set to npm 6.1.0v and node 8.9.4v
- Navigate to repository directory root
- Build Docker image with
nexus2
as the name of your image:docker build -t nexus2 .
- Bind app's 3000 port to localhost:8080 and run the app:
docker run -p 8080:3000 nexus2
- Once server is successfully running, open on browser at
localhost:8080