Add: Dev start help
This commit is contained in:
parent
04626fd7ef
commit
f17fc59b0a
1 changed files with 43 additions and 0 deletions
43
README.md
43
README.md
|
@ -3,3 +3,46 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
My try to make a Social media archiving web tool with django and gallery-dl
|
My try to make a Social media archiving web tool with django and gallery-dl
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
## Development
|
||||||
|
|
||||||
|
*Note!* Instructions are made for a modern linux environment.
|
||||||
|
|
||||||
|
* **Step 1:** Clone repo
|
||||||
|
```bash
|
||||||
|
git clone https://git.aroy-art.com/Aroy/Gallery-Archivist.git
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Step 2:** Change dir to the new cloned repo
|
||||||
|
```bash
|
||||||
|
cd Gallery-Archivist
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Step 3:** Make a python environment
|
||||||
|
```bash
|
||||||
|
python3 -m venv venv
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Step 4:** Activate the new python environment
|
||||||
|
```bash
|
||||||
|
source ./venv/bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Step 5:** Install python dependencies
|
||||||
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Step 6:** Copy environment config file and change it to your liking
|
||||||
|
```bash
|
||||||
|
cp env-sample .env
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Step 7:** Run django server
|
||||||
|
```bash
|
||||||
|
python3 archivist/manage.py runserver
|
||||||
|
```
|
Loading…
Reference in a new issue