root пре 3 година
родитељ
комит
6d7c9ea707
2 измењених фајлова са 6 додато и 4 уклоњено
  1. 4 2
      README.md
  2. 2 2
      requirements.txt

+ 4 - 2
README.md

@@ -15,12 +15,14 @@ A Discord robot for the Angels Discord written in Python.
 1. Install required packages: `pip3 install -r requirements.txt`
 
 ### Web interface
+1. Copy the local settings example file: `cp webgui/webgui/local_settings_example.py webgui/webgui/local_settings.py`
+1. Edit the new local settings file: `nano webgui/webgui/local_settings.py`
+1. Test: `python webgui/manage.py runserver`
 Expose django to the web. (TODO: more details)
 
 ## Run bot
 1. Activate virutal environment: `source bin/activate`
-1. Change into the bot directory: `cd bot`
-1. `python rotbot.py`
+1. Run `python bot/main.py`
 
 ## Edeting the look of the webgui
 ### Build Fomatic-ui

+ 2 - 2
requirements.txt

@@ -1,6 +1,6 @@
 discord.py==1.7.3
 asyncpg==0.26.0
 Django==4.1
-psycopg2==2.9.3
+psycopg2-binary==2.9.5
 django-settings-export==1.2.1
-django-semanticui-forms==1.6.5
+django-semanticui-forms==1.6.5