Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.43 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.43 KB

NemaNode

Interactive map of nervous system wiring in the nematode C. elegans. Live at NemaNode.org.

Required software

Development setup

  1. Setup MySQL if first-time use: sudo mysql_secure_installation
  2. Install app dependencies by running npm install
  3. Setup MySQL user and database: scripts/setup_config.sh nemanode nemanode_user password | sudo mysql
  4. Populate database: npm run populate-database

Commands

Once setup is completed, you will be able to run the following commands in this project directory:

  • npm run watch or npm start: start a app server to test alongside development (localhost:3000)
  • npm run build-prod: build the production version of the app
  • npm run test: run the tests
  • populate-database: take the raw data in src/server/db/raw-data and populate the mysql db with it

Documentation

For more information on how to do various things read the documentation