Yet Another Ged tool
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.
Dashie der otter 533431913f meeeeeeh 4 jaren geleden
instance Upload stuff ; right folder ; create folders 5 jaren geleden
migrations Placeholder for dry run commands 4 jaren geleden
static Can show documents by path; show folders in navbar; better show document 4 jaren geleden
templates Can show documents by path; show folders in navbar; better show document 4 jaren geleden
texttable @ 0eb812be61 Update; add config; update texttable 4 jaren geleden
.gitignore Save files with proper instance/uplad folder 5 jaren geleden
.gitmodules Update; add config; update texttable 4 jaren geleden
README.md meeeeeeh 4 jaren geleden
TODO.md Update TODO 4 jaren geleden
app.py Can show documents by path; show folders in navbar; better show document 4 jaren geleden
check_config.py PEP8 + split documents list 4 jaren geleden
config.py wow wtf omg ; changes ; yolo ; pdfjs ; render pdf and index them 4 jaren geleden
config.py.sample add pagination 4 jaren geleden
dbseed.py PEP8 + split documents list 4 jaren geleden
metadatas.py wow wtf omg ; changes ; yolo ; pdfjs ; render pdf and index them 4 jaren geleden
models.py wow wtf omg ; changes ; yolo ; pdfjs ; render pdf and index them 4 jaren geleden
setup.py Add setup.py 4 jaren geleden
sync_files.py Placeholder for dry run commands 4 jaren geleden
sync_metadatas.py Placeholder for dry run commands 4 jaren geleden
thumbnailing.py Placeholder for dry run commands 4 jaren geleden

README.md

Yet Another GED tool

Installation

  1. git clone http://dev.sigpipe.me/dashie/yag.git
  2. cd yag
  3. git submodule init
  4. git submodule update
  5. python3 setup.py develop
  6. psql -> CREATE DATABASE yag;
  7. cp config.py.sample config.py
  8. $EDITOR config.py
  9. python3 app.py db upgrade
  10. python3 app.py db_seed

db_seed will create a default user, see dbseed.py for information.

Paths

YAGED_DOCUMENTS_ROOT = "/Volumes/USB DISK/DocsYAG"
YAGED_DOCUMENTS_DOCS = YAGED_DOCUMENTS_ROOT + "/docs"
YAGED_DOCUMENTS_WEB_UPLOAD = YAGED_DOCUMENTS_ROOT + "/upload"

You put all your files in YAGED_DOCUMENTS_DOCS, create directories if you want.

Beware that ANY file put inside YAGED_DOCUMENTS_DOCS will be indexed.

Recurrent jobs

python3 app.py sync_files
python3 app.py sync_metadatas
python3 app.py create_thumbs