subject-f / cubarimoe

GNU Affero General Public License v3.0
60 stars 17 forks source link

Cubari.moe

An image proxy powered by the Cubari reader.

Testing Supported By

BrowserStack

Prerequisites

Install

  1. Create a venv for cubarimoe in your home directory.

    virtualenv ~/cubarimoe
  2. Clone cubarimoe's source code into the venv.

    git clone https://github.com/appu1232/cubarimoe ~/cubarimoe/app
  3. Activate the venv.

    cd ~/cubarimoe/app && source ../bin/activate
  4. Install cubarimoe's dependencies.

    pip3 install -r requirements.txt
  5. Change the value of the SECRET_KEY variable to a randomly generated string.

    sed -i "s|\"o kawaii koto\"|\"$(openssl rand -base64 32)\"|" cubarimoe/settings/base.py
  6. Generate the default assets for cubarimoe.

    python3 init.py
  7. Create an admin user for cubarimoe.

    python3 manage.py createsuperuser

Start the server

Now the site should be accessible on localhost:8000

Other info

Relevant URLs (as of now):