52 lines
837 B
Plaintext
52 lines
837 B
Plaintext
|
randy
|
||
|
===============================
|
||
|
|
||
|
Getting Started
|
||
|
---------------
|
||
|
|
||
|
- Change directory into your newly created project.
|
||
|
|
||
|
cd randy
|
||
|
|
||
|
- Create a Python virtual environment.
|
||
|
|
||
|
python3 -m venv env
|
||
|
|
||
|
- Upgrade packaging tools.
|
||
|
|
||
|
env/bin/pip install --upgrade pip setuptools
|
||
|
|
||
|
- Install the project in editable mode.
|
||
|
|
||
|
env/bin/pip install -e
|
||
|
|
||
|
- Configure the database.
|
||
|
|
||
|
env/bin/initialize_randy_db development.ini
|
||
|
|
||
|
- Once configured, scan the files by running the script.
|
||
|
|
||
|
env/bin/scan development.ini
|
||
|
|
||
|
- Run your project.
|
||
|
|
||
|
env/bin/pserve development.ini
|
||
|
|
||
|
|
||
|
Picture Model
|
||
|
---------------
|
||
|
|
||
|
- Uri:
|
||
|
Format:
|
||
|
name_of_directory_added:path/name
|
||
|
eg.
|
||
|
Pictures:Vanya/Italy/DSC001.jpg
|
||
|
|
||
|
- Hash
|
||
|
Format:
|
||
|
default is sha-2
|
||
|
algorithm:hash
|
||
|
|
||
|
- Weight
|
||
|
Default value is 4096. Every thumbs up double value, every thumbs down will halve it.
|