8000 GitHub - srijal30/genuine-djinn: Buggy chat app created solely with Python. Made for 2022 Python Code Jam.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

srijal30/genuine-djinn

Repository files navigation

Glitchat

Running

Start with cloning the repository and installing dependencies:

$ git clone https://github.com/srijal30/genuine-djinn.git
$ python3 -m pip install -r requirements.txt
$ python3 -m spacy download en_core_web_sm # install nlp

Now, to start the app run the following:

$ python3 main.py -a app

Running Server

If you want to run your own server instead of the default one, you first need to setup the database.

Note: This assumes you already have postgres installed.

$ echo DB_SERVER=postgresql://postgres:postgres@localhost:5432/ > .env
$ python3 -m venv .venv # a venv is required for prisma to work properly
$ source .venv/bin/activate
$ npm i -g prisma # this is only if prisma isnt already installed
$ prisma db push
$ python3 -m prisma generate

You can then run the server like so:

$ python3 main.py -a server

About

Buggy chat app created solely with Python. Made for 2022 Python Code Jam.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

0