Code Monkey home page Code Monkey logo

TruePCR DOI

Jupyter notebook and web UI for modelling visualising DNA concentration over time.

Notebook

While developing the workflow, we are using a Jupyter notebook. Assuming you have your Python sci dev environment set up (Python 3.5 was used during development), you can start it from the root of the git repository with:

jupyter notebook --notebook-dir=./notebook

And see it in your browser at http://127.0.0.1:8888/.

If you just want to view the contents, you can see it here without installing anything.

Web app

Development

Assuming a Python sci/dev environment, which would on e.g. OS X be more or less:

  • install OS X command line tools (or Xcode)

  • install Homebrew

  • install some binary dependencies

     brew install python3 gcc freetype
    
  • install some Python global dependencies

     pip install virtualenvwrapper
    

Get ready:

mkvirtualenv -p /usr/bin/python3 TruePCR
pip install -r requirements/dev.txt
npm install
bower install
grunt build

See if any migrations are necessary:

./manage.py migrate

Link up your front+backend:

util/bootstrap.sh

Then in one tab spin up the frontend workflow:

grunt serve

And in another the backend workflow:

./manage.py runserver_plus

Production

Everything the same, except:

pip install -r requirements/prod.txt
util/boostrap.sh prod

Or use the prod brunch:

grunt publish
cd prod
git checkout prod
./manage.py runserver

Deployment

To deploy to Heroku, from the repo root run:

grunt publish
(cd prod; git push heroku prod:master)

truepcr's Projects

truepcr icon truepcr

Jupyter notebook and web UI for visualising DNA concentration over time.

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.