Simple yet advanced screenshot uploading and link shortening service.
Deploy this app to Linode with a free $100 credit!
"elixirae is the futureae"
- lunae bunae genserv, 2018
Elixire is an open source image host solution.
The first iteration of Elixire was written in PHP, then rewritten in Python and this is the main language we are working on.
(no, we won't write Elixir, read BACKEND.md for the reason)
Dockerfiles exist in this repository. Do not attempt to run them. (Merge Requests "fixing" them will be closed.)
Requirements:
Optional requirements:
docs/MANAGE.md
for more detail).git clone https://gitlab.com/elixire/elixire.git
cd elixire
# Download the current versions for frontend and admin-panel.
git submodule init
git submodule update
# You are able to use a virtual enviroment if you want.
python3.7 -m pip install -Ur requirements.txt
# Please edit schema.sql before continuing.
# Specially the "INSERT INTO domains" line.
psql -U postgres -f schema.sql
# Read carefully over the configuration file
# to enable/disable instance features (like registration and webhooks).
cp config.py.example config.py
# Edit frontend/config.json and admin-panel/config.json
# so they're pointing to your domain.
# Update frontend and admin-panel repositories.
# Use this makefile task to update your instance.
make update
# Build the frontend and the admin-panel.
make
# Run application, also works under external process managers.
hypercorn run.py --access-log - --bind 0.0.0.0:8081
TODO
Here's some important notes while this is still a todo:
proxy_set_header Host $host;
in nginx).Please look under the docs/
directory for more complete tooling documentation.
See this repo for API Docs. Both the Client API and the Admin API are documented there.
NOTE: It is not recommended to run the test suite in production environments, as it will run against the currently configured database.
Install tox
globally, as that will take care of creating a dedicated
virtual environment for testing:
python3 -m pip install tox
Then, run it.
tox
Please login to review this project.
No reviews for this project yet.
Comments (0)
Please login to join the discussion on this project.