The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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:
recipesa web app that can runs data analysis scripts via a web interface, see: Bioinformatics Recipes
foruma 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
biostar2016branch. The master branch is the development version that we will migrate the main server to in the future.
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.
Switch to the biostar-engine directory.
Install server dependencies.
pip install -r conf/requirements.txt
The installation is now complete.
All server management commands are run through
To run the demonstration version of the
make recipes demo
To run a demonstration version of the
make forum demo
Visit http://127.0.0.1:8000/ to view the site.
All users listed in the
ADMINSattribute of the Django
settings.pymodule will gain administritave privileges when the site is initialized. The
DEFAULT_ADMIN_PASSWORDattribute will be set as the default admin password. By default the value for both is:
Use this username and password combination to log into the site as an administrator. Change the
DEFAULT_ADMIN_PASSWORDfor public facing installations.
The Makefile has several tasks that demonstrate the commands that may be run. Typically a series of
maketasks may be run. For example
Initialize and run a new
make recipes serve
Initialize and run a demo version of the recipes app:
make recipes demo
Initialize and run an new
make forum serve
recipes: selects the app to run. It must be the first task in the list.
demo: runs a demonstration version
init: initializes the database schema
serve: runs the app on the default port (
save: saves the current database content as a JSON fixture file
load: loads the last database save file from a JSON fixture
reset: resets the database (deletes all database content)
resetthen deletes all files in the media/spool folder
To run all tests type:
To test the
make recipes test
To test the
make forum test
Additional documentation for: