Compare commits
2 commits
7345d3c2af
...
f17fc59b0a
Author | SHA1 | Date | |
---|---|---|---|
f17fc59b0a | |||
04626fd7ef |
2 changed files with 52 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
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
## 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
9
env-sample
Normal 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
|
Loading…
Reference in a new issue