this repository contains a flask server that implements REST API and functionality for writing and testing templates and generating question from the given templates and data. this questions used in a question game named whoknows
Setting up is simple, just follow these steps.
-
-
Install python and pip and git:
apt install git python3 python3-pip
-
Clone the repository:
git clone http://89.32.250.57/danial/template-manager-server.git
-
Go to repository folder:
cd template-manager-server
-
Install dependencies:
pip install -r requirements.txt
-
Start server:
python3 app.py
-
-
-
Clone the repository:
git clone http://89.32.250.57/danial/template-manager-server.git
-
Go to repository folder:
cd template-manager-server
-
Build image from dockerfile:
docker build . -t template-manager-server
-
Run docker image:
docker run -it template-manager-server
-
Template manager implements functionality for the followings concepts:
-
Write template:
-
Test template:
-
generate question:
- Mohammad Parsian
- Danial Keimasi
- Moein Samadi