Coder Social home page Coder Social logo

waffle-iron / medbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ucsc-medbook/medbook

0.0 1.0 0.0 125 KB

Parent repo, all MedBook components included as submodules

License: BSD 3-Clause "New" or "Revised" License

Shell 47.57% JavaScript 52.43%

medbook's Introduction

Stories in Ready

MedBook

Parent repo for the MedBook project.

Getting started

# clone this repo
git clone https://github.com/UCSC-MedBook/MedBook
cd MedBook

# initialize and update all submodules
./init.sh

# set up the required environmental variables
# NOTE: on medbook.io these are stored in a file: `source ~/set_up_environment.sh`
export MONGO_URL=mongodb://mongo/MedBook
export MAIL_URL="smtp://EMAIL:[email protected]"
export WORLD_URL="medbook.io" # URL where this instance will be deployed

# start all the apps
docker-compose up

The last line (docker-compose up) assumes you have a seperate box for the mongo database. To run mongo as a docker image, call ./startDev.sh.

Setting up cBioPortal

# move the sql db to where you can restore it from
mv dump.sql /mnt/mysql-dump

# start the mysql container (as well as the other apps)
docker-compose up

# connect to the sql database and restore from dump.sql
docker exec -it mysql /bin/bash

# restore from dump.sql from within the docker container
mysql -h localhost -u cbio -pP@ssword1;
use cbioportal; # `CREATE DATABASE CBIOPORTAL` if it doesn't exist already
source /mysql-dump/dump.sql;

medbook's People

Contributors

mokolodi1 avatar rissem avatar e-t-k avatar tedgoldstein avatar waffle-iron avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.