Skip to content

team19hackathon2021/computate_postgres

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install postgres

Install the latest Python and setup a new Python virtualenv

sudo yum install -y git python3 python3-pip python3-virtualenv python3-libselinux python3-libsemanage python3-policycoreutils
virtualenv-3 ~/python
source ~/python/bin/activate
echo "source ~/python/bin/activate" | tee -a ~/.bashrc

Install the latest Ansible

pip install setuptools_rust wheel
pip install --upgrade pip
pip install ansible selinux setools

Install the postgres ansible role

Create a directory for the ansible role.

install -d ~/.ansible/roles/computate.computate_postgres

Clone the postgres ansible role.

git clone [email protected]:computate-org/computate_postgres.git ~/.ansible/roles/computate.computate_postgres

Run the postgres ansible playbook to install the application locally (requires sudo privileges with -K).

cd ~/.ansible/roles/computate.computate_postgres
ansible-playbook -K install.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published