Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.06 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.06 KB

NeuroML Websites

Source code and documentation for NeuroML-DB.org and NeuroML-DB Curator.

Steps to start website:

On dendrite

  1. cd /var/www/NeuroML-DB.org_Docker/
  2. sudo -u www-data ./run.sh This will (re-)build the docker image and start the website on port 8000
  3. /etc/apache2/httpd-nml2.conf file configures apache server on dendrite to route requests to neuroml-db.org to port 8000

Locally

Ensure you have docker installed and are running Ubuntu.

  1. Clone repo with [email protected]:scrook/neuroml-db.git
  2. Copy the following secrets files from dendrite:
From `/var/www/NeuroML-DB.org/config/database.yml` to:
   `[repo]/www/NeuroML-DB.org/config/database.yml`

From `/var/www/NeuroML-DB.org/config/initializers/secret_token.rb` to 
   `[repo]/www/NeuroML-DB.org/config/initializers/secret_token.rb`

From `/var/www/NeuroML-DB.org_Ontology/database.py` to 
   `[repo]/www/NeuroML-DB.org_Ontology/database.py`
  1. cd neuroml-db/www/NeuroML-DB.org_Docker
  2. ./run.sh This will build the site docker image and start the website on port 8000