TravelIC is a simple WeChat application which allows your WeChat followers sell and buy their own things.
TravelIC is based on dot net core.
Requirements about how to run
- Windows Server or Ubuntu Server
- dot net Core 1.1.0 or later
- SQL Server or SQL Server LocalDB
- bower
- nodejs and npm
- git
bower depends on nodejs, npm and git!
Requirements about how to develope
- Windows 10 or Ubuntu desktop
- dot net Core SDK 1.0.3 or later
- SQL Server or SQL Server LocalDB
- bower
- nodejs and npm
- git
- VS Code (Strongly suggest)
- Change the database connection string to your own database.
The connection string of this app is located at./TravelInCloud/appsettings.json
About How to write connection string please view here - Excute
bower installto download all front-end packages - Excute
dotnet restoreto restore all dotnet requirements - Excute
dotnet ef database updateto update your database - Excute
dotnet runto run the app - Use your browser to view http://localhost:5000
- Prepare a Linux or Windows Server
- Excute
dotnet publish - Copy
./TravelInCloud/bin/Debug/netcoreapp1.1/publishpath to your server - Excute
dotnet TravelInCloud.dllat./TravelInCloud/bin/Debug/netcoreapp1.1/publishpath on your server
When you have successfully published the app to your server, it is not running properly! You need the following setps.
- Create a WeChat MP Account at https://mp.weixin.qq.com
- Start developer mode in your account
- Set proper app domain
- Set proper oauth domain
- Set proper js domain
- Set proper appid and appsecret
- Validate your wechat app at
ServerRoot\api\WeChatVerify - Set your menu at
ServerRoot\api\ApplyMenu - Configure your WeChat pay
- Chnfigure your WeChat OAuth authorization
For more information about how to run it in your WeChat account, please view WeChat document at https://mp.weixin.qq.com/wiki
Directly fork this repo and edit it. When you have successfully fixed an issue or have successfully made some useful change, please create a pull request.
If you are faceing any problem, please disscuss it at Issues.