Go to file
tanshu 170a2ee6ec Initial Commit 2017-02-25 00:55:47 +05:30
randy Initial Commit 2017-02-25 00:55:47 +05:30
.gitignore Initial Commit 2017-02-25 00:55:47 +05:30
CHANGES.txt Initial Commit 2017-02-25 00:55:47 +05:30
MANIFEST.in Initial Commit 2017-02-25 00:55:47 +05:30
README.txt Initial Commit 2017-02-25 00:55:47 +05:30
development.ini Initial Commit 2017-02-25 00:55:47 +05:30
install.sh Initial Commit 2017-02-25 00:55:47 +05:30
production.ini Initial Commit 2017-02-25 00:55:47 +05:30
randy.service Initial Commit 2017-02-25 00:55:47 +05:30
setup.py Initial Commit 2017-02-25 00:55:47 +05:30

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.