an attempt to make a lightweight QA service for using inside corporate infrastructures
This is a work-in-progress project. It's built on top of python glasskit framework, the UI is a vue.js SPA.
-
Clone the repository
-
Copy
app/config/development.py.example
toapp/config/development.py
and make changes mentioned in comment on top of the file. Basically you need to fill up settings for at least one OAuth provider and disable those you don't need (i.e. remove them from configuration completely). The same thing should be done to thebot
section of configuration file to enable/disable particular messenger bots. -
Run
docker-compose up --build
. This will build and run containers for database, elasticsearch, memcached, backend and the task server. The backend is exposed on port 5000 to your localhost.3a. If you're running the dev server for the first time you have to prepare indexes in elasticsearch. You're going to need to run a command in your backend container:
docker exec -it ask_backend /opt/app/glass.py elastic index -a -d
. -
Open another terminal and cd into
ui
directory. -
Run
yarn
ornpm i
to install dependencies -
Run
yarn serve
ornpm run serve
to build and serve the UI. -
Open
http://localhost:8080
to see the result