mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Update install docs
This commit is contained in:
parent
f8488208fb
commit
b130cc6c8e
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user