Code Monkey home page Code Monkey logo

workshops's Introduction

QIIME 2 Workshops

Build Status Coverage Status

Django App for QIIME 2 workshops

Development Setup

# Default buildpack runtime is Python 3.6
$ conda create -n workshops.qiime2.org python=3.6
$ conda activate workshops.qiime2.org
$ pip install -r requirements/local.txt
$ createdb qiime2-workshops
$ python manage.py migrate
$ python manage.py runserver

Basic Commands

Creating a superuser account:

$ python manage.py createsuperuser

Deploying to Dokku

dokku config:set $APPNAME \
    ADMIN_URL=`openssl rand -base64 32` \
    SECRET_KEY=`openssl rand -base64 64` \
    SETTINGS_MODULE='config.settings.production' \
    ALLOWED_HOSTS='.qiime2.org,workshops.qiime2.org' \
    ADMINS='x,[email protected];y,[email protected]' \
    LMID=YOUR_LMID \
    PAYMENT_URL=YOUR_PAYMENT_URL \
    PAYMENT_TITLE=YOUR_PAYMENT_TITLE \
    PAYMENT_DESCRIPTION=YOUR_PAYMENT_DESCRIPTION \
    PAYMENT_CONTACT_INFO=YOUR_PAYMENT_CONTACT_INFO \
    PSF_SPEEDTYPE=YOUR_PSF_SPEEDTYPE \
    PSF_ACCT_NUMBER=YOUR_PSF_ACCT_NUMBER \
    AWS_ACCESS_KEY_ID=YOUR_AWS_ACCESS_KEY_ID \
    AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY \
    AWS_SES_REGION_NAME=YOUR_AWS_SES_REGION_NAME \
    AWS_SES_REGION_ENDPOINT=YOUR_AWS_REGION_ENDPOINT

git push dokku master
dokku run python manage.py migrate
dokku run python manage.py check --deploy
dokku run python manage.py createsuperuser

NAU Notes

  • Test EBusiness server is not accessible outside of NAU - must test locally

workshops's People

Contributors

thermokarst avatar jakereps avatar q2d2 avatar chriskeefe avatar david-rod 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.