Skip to content

ResidentMario/aleksey-writes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aleksey-writes

A personal archival and retrieval service for my writing, circa 2016-2020. A small side project I worked on for fun, and to help motivate me to learn a bit of Rust.

deployment (local)

  1. Run the get_kaggle.sh and parse_all.sh scripts (in the scripts/ directory).

  2. Push the aleksey-writes-documents repository (that you just rebuilt above) to GitHub.

  3. Build and serve the elasticsearch Docker container:

    # PWD=/path/to/aleksey-writes/docker
    # uses --no-cache b/c the documents are cached inside the image
    $ docker build . \
        --tag aleksey-writes/elasticsearch \
        --file Dockerfile.elasticsearch \
        --no-cache
    $ docker run --rm \
        -p 9200:9200 -p 9300:9300 \
        -e "discovery.type=single-node" \
        aleksey-writes/elasticsearch
  4. Build and serve the webapp:

    # PWD=/path/to/aleksey-writes/js
    $ npm run-script build:local
    $ nmp run-script serve:local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages