Git Product home page Git Product logo

biostar-central's Introduction

Biostar Central

Software for better science.

Biostar Central is a Python and Django based collection of web applications that support scientific practice and education.

The goal of the project is to produce software with straightforward installation and minimal dependencies that works on any computing platform that supports Python. For each app the philosophy is that of decentralization and self hosting. We write code to allow others to recreate the same services that we run.

Each web application may be deployed individually or in combination with the others. The following applications are currently feature complete:

  • recipes a web app that can runs data analysis scripts via a web interface, see: Bioinformatics Recipes
  • forum a web app that runs a Q&A forum inspired by StackOverflow, see: Biostars Q&A

Note: The public biostars.org site runs the code from the biostar2016 branch. The master branch is the development version that we will migrate the main server to in the future.

Installation

The code in Biostar Central requires Python 3.6 or above.

Our installation instructions rely on conda though other alternatives for managing python environments are equally viable.

# Create a virtual environment.
conda create -y --name engine python=3.6

# Activate the python environment.
conda activate engine

# Clone the source server code and the recipe code.
git clone https://github.com/ialbert/biostar-central.git

# Switch to the biostar-engine directory.
cd biostar-central

# Install server dependencies.
pip install -r conf/pip_requirements.txt

The installation is now complete.

All server management commands are run through make.

Testing the code

To test the recipes app run:

make recipes test

To test the forum app run:

make forum test

Running the demo server

To run the demonstration version of the recipes app execute:

make recipes_demo

To run a demonstration version of the forum app execute:

make forum_demo

Visit http://127.0.0.1:8000/ to view the site.

Default users

All users listed in the ADMINS attribute of the Django settings.py module when the site is initialized. The DEFAULT_ADMIN_PASSWORD attribute will be set as their password. By default the value for both is:

admin@localhost

Use the username and password above to log into the site as an administrator.

Executing multiple tasks

The Makefile has several tasks that demonstrate the commands that may be chained together:

Initialize and run an empty recipes app.

make recipes init serve

Initialize and run an empty forum app.

make forum init serve

Documentation

Additional documentation for:

biostar-central's People

Contributors

alevchuk avatar aokiji avatar aswathyseb avatar dependabot[bot] avatar dpryan79 avatar dreinhold avatar egonw avatar enormandeau avatar ialbert avatar ichait avatar kislyuk avatar kumarrishabh42 avatar lohit13 avatar lshep avatar mirams avatar natay avatar pindia avatar puntonim avatar scgruber avatar tvvocold avatar

Watchers

 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.