Fix installation instructions
This commit is contained in:
parent
b20b78fd17
commit
fb416d1c0d
12
README.md
12
README.md
@ -35,12 +35,12 @@ First, fork [this repository](https://git.bbaovanc.com/bbaovanc/imgupload). If y
|
|||||||
|
|
||||||
Note: replace `www-data` with whatever user your webserver runs as.
|
Note: replace `www-data` with whatever user your webserver runs as.
|
||||||
|
|
||||||
1. Make /srv/imgupload: `sudo mkdir /srv/imgupload`
|
1. Go to /srv: `cd /srv`
|
||||||
2. Change ownership of /srv/imgupload: `sudo chown www-data:www-data /srv/imgupload`
|
2. Clone the repository: `git clone https://git.bbaovanc.com/bbaovanc/imgupload.git`
|
||||||
3. Enter www-data user: `sudo su www-data`
|
3. Change ownership of /srv/imgupload: `sudo chown www-data:www-data /srv/imgupload`
|
||||||
4. Change directories to /srv/imgupload: `cd /srv/imgupload`
|
4. Enter www-data user: `sudo su www-data`
|
||||||
5. Clone the repository: `git clone https://git.bbaovanc.com/bbaovanc/imgupload.git`
|
5. Change directories to /srv/imgupload: `cd /srv/imgupload`
|
||||||
6. Checkout the version you want (replace [version] with desired version: `git checkout [version]`
|
6. Checkout the version you want (replace [version] with desired version tag: `git checkout [version]`
|
||||||
7. Enter the imgupload directory: `cd imgupload`
|
7. Enter the imgupload directory: `cd imgupload`
|
||||||
8. Create a virtualenv: `python3 -m venv env`
|
8. Create a virtualenv: `python3 -m venv env`
|
||||||
9. Enter the virtualenv: `source env/bin/activate`
|
9. Enter the virtualenv: `source env/bin/activate`
|
||||||
|
Reference in New Issue
Block a user