Catalog of bioinformatics resources of the French Institute of Bioinformatics (IFB)
$ git clone https://github.com/IFB-ElixirFr/IFB-resource-catalog.git
$ sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib
$ sudo pip3 install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$ pip install django-filter
$ pip install django-rest-framework
$ pip install django-widget-tweaks
$ pip install psycopg2
$ pip install requests
$ pip install django_extensions
$ sudo service postgresql start
$ sudo -i -u postgres
$ psql
$ CREATE USER user_name;
$ CREATE DATABASE database_name OWNER user_name;
$ ALTER USER user_name WITH PASSWORD ‘password_here’;
$ python manage.py migrate
$ python manage.py makemigrations
$ python manage.py runserver