Compare commits

..

2 commits

Author SHA1 Message Date
f17fc59b0a
Add: Dev start help 2022-09-22 14:06:56 +02:00
04626fd7ef
Add: env sample file 2022-09-22 14:06:05 +02:00
2 changed files with 52 additions and 0 deletions

View file

@ -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
```

9
env-sample Normal file
View file

@ -0,0 +1,9 @@
# True for development, False for production
DEBUG=True
# Deployment SERVER address
SERVER=archivist.aroy-art.com
# Used for CDN (in production)
# No Slash at the end
ASSETS_ROOT=/static/assets