You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 years ago | |
---|---|---|
randy | 5 years ago | |
.gitignore | 5 years ago | |
CHANGES.txt | 5 years ago | |
MANIFEST.in | 5 years ago | |
README.txt | 5 years ago | |
development.ini | 5 years ago | |
install.sh | 5 years ago | |
production.ini | 5 years ago | |
randy.service | 5 years ago | |
setup.py | 5 years ago |
README.txt
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.