~amirouche/Babelia

Wanna be large scale search engine for the commons

ea95c8d typofix

5 months ago

37605f3 add empty preact sourcemap file

5 months ago

#babelia

screenshot show how to search, index and view article https://hyper.dev/discourse/

#Getting started

  1. Clone the repository using its URL:

    git clone https://git.sr.ht/~amirouche/python-babelia
    
  2. Install FoundationDB. With a Debian system you can do the following:

    wget https://github.com/apple/foundationdb/releases/download/7.1.3/foundationdb-clients_7.1.3-1_amd64.deb
    wget https://github.com/apple/foundationdb/releases/download/7.1.3/foundationdb-server_7.1.3-1_amd64.deb
    sudo dpkg -i foundationdb-*
    
  3. At the root of the repository do the following cli dance:

    Create a Python virtual environment and install necessary dependencies with:

    ./venv
    
  4. Stay in the virtual environment, and run the following command to spawn the web server:

    uvicorn hyperdev.main:main
    

    A traceback with some red ink will be displayed that is harmless.

  5. Go to http://127.0.0.1:8000.