"La Greguería Virtual," or the Virtual Aphorisms of Ramón Gómez de la Serna, is an online tool that allows scholars and the general public to search a database of 10,000 greguerías (Gómez de la Serna's aphorisms) using various filters or criteria, including specific words, length, and theme. This project is made possible by Corpus Creation and Software Development Seed Grants from the Digital Humanities Lab at Yale University.
First install Node.js and MongoDB on your server, then run:
# get the source
git clone https://github.com/tzembo/la-gregueria-virtual
# install the python dependencies
cd la-gregueria-virtual
pip install -r requirements.txt
# build the db
cd utils
python seed_db.py
python create_index.py
cd ../
# install node dependencies
npm install
# build the client code
npm run build
./gunicorn_start
# open a web browser to localhost:5000
python utils/seed_db.py
python utils/create_index