This is version 3.0 of Receptor application.
Receptor is a web-based application to inventory and track lab groups’ oligos (RNA/DNA material) that is built using Django framework. This updated version of Receptor helps storing and retrieving your oligos information organizing the data in a database that is easily searchable.
The app helps researchers be more productive and share material in ways that avoid unnecessary delays and expenses ultimately to better empower them to discover and share more about the diseases they study.
Receptor is hosted on AWS at (In progress)
- v1.0: Django, Python 2
- v2.0: Django, Python 3
- v3.0: Django, DRF, React, Python 3
-
Create a
.env
file located inReceptor/receptor
along withsettings.py
with the following variables defined:DB_USER=<your_username> DB_PASS=<your_password> DJANGO_DEBUG='True' DB_NAME='receptor' HOSTS='<host_name or public_ip>,<another_host_name>'
-
Create and activate a virtual environment
-
Install the project packages
pip install -r requirements.txt
-
Download Postgres database
Mac using Homebrew
- Download Homebrew
- Install postgres
brew install postgresql
- Start postgres
brew services start postgresql
-
Create the receptor database
- Open the psql shell
psql postgres
- Create 'receptor' database
CREATE DATABASE receptor; exit;
- Open the psql shell
-
Make migrations, migrate and create a superuser
python manage.py makemigrations oligos python manage.py migrate python manage.py createsuperuser
-
Download and install Node.js and npm
-
Run Receptor backend
python manage.py runserver
-
Run Receptor frontend (this way you can see code changes live)
cd ./frontend npm install #to install the project dependencies npm start
.. are welcomed! 🤝