From b130cc6c8e9f143e7f8b1019c5ffcd54b0e717f6 Mon Sep 17 00:00:00 2001 From: Basraah Date: Fri, 22 Sep 2017 09:57:58 +1000 Subject: [PATCH] Update install docs --- docs/installation/auth/centos.md | 6 +++--- docs/installation/auth/dependencies.md | 10 ++++++---- docs/installation/auth/ubuntu.md | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/installation/auth/centos.md b/docs/installation/auth/centos.md index 9c898dcf..1fae060e 100644 --- a/docs/installation/auth/centos.md +++ b/docs/installation/auth/centos.md @@ -43,9 +43,9 @@ Now we need to make the requisite database. create database alliance_auth; -Create a Python virtual environment and put it somewhere convenient (e.g. ~/venv/aauth/) +Create a Python virtual environment and put it somewhere convenient (e.g. `~/venv/aauth/`) - python3 -m venv /path/to/new/virtual/environment + python3.6 -m venv /path/to/new/virtual/environment A virtual environment provides support for creating a lightweight "copy" of Python with their own site directories. Each virtual environment has its own Python binary (allowing creation of environments with various Python versions) and can have its own independent set of installed Python packages in its site directories. You can read more about virtual environments on the [Python docs](https://docs.python.org/3/library/venv.html). @@ -53,7 +53,7 @@ Activate the virtualenv using `source /path/to/new/virtual/environment/bin/activ Now you can install the library using `pip install allianceauth`. This will install Alliance Auth and all its python dependencies. -Ensure you are in the allianceserver home directory by issuing `cd allianceauth`. +Ensure you are in the allianceserver home directory by issuing `cd ~`. Now you need to create the application that will run the Alliance Auth install. diff --git a/docs/installation/auth/dependencies.md b/docs/installation/auth/dependencies.md index e04d75ed..af16d715 100644 --- a/docs/installation/auth/dependencies.md +++ b/docs/installation/auth/dependencies.md @@ -9,7 +9,7 @@ Required for base auth site #### Python - python3 python3-dev python3-mysqldb python3-setuptools python3-mysql.connector python3-pip + python3 python3-dev python3-setuptools python3-pip #### MySQL @@ -21,9 +21,11 @@ Required for base auth site ## CentOS 7 -### Add The EPEL Repository +Tested on CentOS 7 - yum --enablerepo=extras install epel-release +### Add The IUS Repository + + sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm yum update ### Core @@ -31,7 +33,7 @@ Required for base auth site #### Python - python python-devel MySQL-python python-setuptools mysql-connector-python python-pip bzip2-devel + python36u python36u-devel python36u-setuptools python36u-pip bzip2-devel #### MySQL diff --git a/docs/installation/auth/ubuntu.md b/docs/installation/auth/ubuntu.md index 74e5d536..0616e2fd 100644 --- a/docs/installation/auth/ubuntu.md +++ b/docs/installation/auth/ubuntu.md @@ -34,7 +34,7 @@ Now we need to make the requisite database. create database alliance_auth; -Create a Python virtual environment and put it somewhere convenient (e.g. ~/venv/aauth/) +Create a Python virtual environment and put it somewhere convenient (e.g. `~/venv/aauth/`) python3 -m venv /path/to/new/virtual/environment @@ -44,7 +44,7 @@ Activate the virtualenv using `source /path/to/new/virtual/environment/bin/activ Now you can install the library using `pip install allianceauth`. This will install Alliance Auth and all its python dependencies. -Ensure you are in the allianceserver home directory by issuing `cd allianceauth`. +Ensure you are in the allianceserver home directory by issuing `cd ~`. Now you need to create the application that will run the Alliance Auth install.