Go to file
Luna Mendes 4a658aec95 README: change from pipenv shell to pipenv run
Do we really need the shell as an extra step?
2018-08-21 05:17:24 -03:00
litecord config: s/WEBSERVER_URL/WEBSOCKET_URL 2018-07-21 17:19:57 -03:00
.gitignore add schema.sql 2018-06-16 19:25:07 -03:00
LICENSE Initial Commit 👌 😂 2018-06-15 21:59:52 -03:00
Pipfile remove quart-cors 2018-07-21 09:37:34 -07:00
Pipfile.lock remove quart-cors 2018-07-21 09:37:34 -07:00
README.md README: change from pipenv shell to pipenv run 2018-08-21 05:17:24 -03:00
config.example.py config: s/WEBSERVER_URL/WEBSOCKET_URL 2018-07-21 17:19:57 -03:00
nginx.conf add sample nginx.conf 2018-07-06 03:31:12 -03:00
run.py run: Add some headers for Access-Control-Allow-Headers 2018-08-21 05:13:38 -03:00
schema.sql schema.sql: fix syntax 2018-07-06 02:29:17 -03:00

README.md

litecord

Litecord is a free as in freedom implementation of Discord's backend services.

Rewrite of [litecord-reference]. [litecord-reference]: https://gitlab.com/lnmds/litecord-reference

Install

  • Python 3.6 or higher
  • PostgreSQL

We use [pipenv] to manage our dependencies. [pipenv]: https://github.com/pypa/pipenv

$ git clone https://gitlab.com/lnmds/litecord
$ cd litecord

# create users as you want, etc
$ psql -U some_user -f schema.sql database

# edit config.py as you please
$ cp config.example.py config.py

# install all packages, including dev-packages
$ pipenv install --dev

Running

# hypercorn will by default bind to 0.0.0.0:5000, change that address
# with the -b option (e.g -b 0.0.0.0:6969).
# use '--access-log -' to show logs on stdout.
$ pipenv run hypercorn run:app