This is the backend of the RIMA web application.
Step 1: Download word embedding model (GloVe)
Step 2: Put the model file in the root directory of this folder
Step 3 (For Windows users):
start.sh file in the backend folder using Notepad++Step 1 Install Docker
Install Docker from https://docs.docker.com/get-docker/
Make sure that there is at least 10GB free space available
Step 2 Use docker-compose to run the app
docker-compose --compatibility up --build
For subsequent runs:
To start the server, run docker-compose up
To stop the server, run docker-compose down
Step 3 Check if the backend already start successfully
127.0.0.1:8000/docsStep 1 Install Docker
Step 2 Enable Hyper-V
bcdedit /set hypervisorlaunchtype auto
Step 3 Use docker-compose to run the app
docker-compose --compatibility up --build
For subsequent runs:
To start the server, run docker-compose up
To stop the server, run docker-compose down
Step 4 Check if the backend already start successfully
127.0.0.1:8000/docsIn the browser, run the following URL 127.0.0.1:8000/admin
Set the default user account to superuser account
Username: admin_user
Password: admin
In the admin page, all the data models can be managed, and a celery task can be triggered manually
Content type
Image
Digest
Size
407.4 MB
Last updated
almost 5 years ago
docker pull inko/soco-rima-backend