Add: Dev start help

This commit is contained in:
Aroy-Art 2022-09-22 14:06:56 +02:00
parent 04626fd7ef
commit f17fc59b0a
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -3,3 +3,46 @@
---
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
```