Created by KanarekLife @ 2020
docker run -p 80:80 -e "DatabaseSettings:ConnectionString=<mongodb connection string>" -v <path to uploads folder>:/app/Uploads woklearner-backend
- Git pull https://github.com/KanarekLife/WokLearner-Backend
- Copy
WokLearner.WebApp/sample-appsettings.json
intoWokLearner.WebApp/appsettings.json
- Modify
appsettings.json
file to your liking but remember that you have to provide connection string to MongoDB Database (I recommend using MongoDB Atlas) - Start by entering
dotnet run --urls "{here goes your ip}:{here goes your desired port}"
insideWokLearner.WebApp
folder.
(Recommend using screen
utility on linux)
- Simply enter
git pull origin master
- Git pull https://github.com/KanarekLife/WokLearner-Backend on new server
- Transfer
WokLearner.WebApp/appsettings.json
andWokLearner.WebApp/Uploads/
from old to new server - Run like usual!
All commands are available to see on {ip}:{port}/swagger
!
[X] Authentication and authorization
[X] Paintings module connected with file upload
[X] Learning module with saving progress
[ ] Completed swagger documentation
[ ] Raking system for competing purposes
[X] Dockerfile