git clone https://github.com/docker/compose.git
cd compose/
git checkout -f 1.25.0
sudo docker build -t dockercompose:1.25.0 .
sudo curl -L --fail https://github.com/docker/compose/releases/download/1.25.0/run.sh -o /usr/local/bin/docker-compose
git clone https://github.com/docker/compose.git
cd compose/
git checkout -f 1.25.0
sudo docker build -t dockercompose:1.25.0 .
sudo curl -L --fail https://github.com/docker/compose/releases/download/1.25.0/run.sh -o /usr/local/bin/docker-compose
First of all, run the system update command to rebuild the repo cache and update installed packages.
sudo yum update
To add a repository without going through the repo file and edit to insert a repository URL, we can use the yum-config-manager tool. If you are using a minimal server version then you perhaps not have it. Thus, here is the command to install it.
http://logan.tw/posts/2017/12/30/full-text-search-with-django-and-postgresql/ | |
Full-text Search with Django and PostgreSQL | |
Sat 30 December 2017 | |
Tags django sql postgresql python | |
Posted by Logan | |
Django has several PostgreSQL database functions to support full-text search. If you are using PostgreSQL as the database backend, then it is easy to add full-text search to your Django app. | |
In this post, I would like to build an demo app with full-text search. This post covers several PostgreSQL-specific features, such as SearchVectorField, SearchVector, SearchQuery, and SearchRank. In addition, this post uses PostgreSQL triggers to update SearchVectorField automatically and explains how to manage triggers with Django migrations. |
This gist I write, because I couldn't find step by step instructions | |
how to install and start postgresql locally and not globally in the | |
operating system (which would require sudo). | |
I hope, this will help especially people new to postgresql! | |
#################################### | |
# create conda environment | |
#################################### |