The project is hosted on GitHub. I need to add you to the project or you can't see it as a result of private repo.
- Liu Shumin 2015303087
- Cheng Luyao 2015303204
- Zeng Yao 2015303219
- Wang Siyuan 2015303275
- XiaoJing 2015303251
- Cui Fengli 2015303124
- Tang Yuying 2015303250
- YuGuanqing 2015303202
- Deng Xiongfei 2015303205
- Gao Chenyu 2015303199
- Windows or Linux system
- Sql Server (Or Sql Server Express) 2012+
- DotNet Core Runtime 2.0+ (If you want to compile the repo yourself, you also need to install DotNet Core SDK)
- Nodejs 7+ (please add the path of the executable to your system variable
path
) - If you use Windows system, you may need IIS
You can get the files by:
- Go to our release page and download dist.zip and migrator.zip
or
- Open repo folder and run the script
build/build.sh
to build binary file andbuild/build-migrator.sh
to build migrator. Thecmd
script is for windows users.
- Extract the
migrator.zip
or go to themigrator
folder in the repo (if you compile the binary file yourself). - Edit the connection string in
appsetting.json
. - Execute script file
deploy-database.sh
in the folder or just execute the commanddotnet Library.Migrator
in the folder - Follow the instruction in the program
- If you can't use migrator, you can deploy database by sql script. The script file is at
sqls
folder in the repo. Or sqls.zip in the release page.
- Extract the
dist.zip
or go to thedist
folder - Edit the connection string in
appsetting.json
. - If you use the windows server and iis, just add a new website with the dist folder as content folder, just as you did before.
- If you use Linux, you can execute
dotnet Library.Web.Mvc
indist
folder. The program will open a port onlocalhost:5000
. You can use nginx or other reverse proxy program as you like.