This repository contains the back-end server for all the ESP8266 Weather staions.
- .NET Core 2.1
- run
git clone https://github.com/hro-sma/weather-station-server.git
cd
to theweather.station.server/weather.station.server
directory- Rename
appsettings.example.json
toappsettings.json
- Initialize a local SqLite database with
dotnet ef database update
- You are now ready to use the application and start it with
dotnet run
Changes to the database can be applied with migrations. Run the command dotnet ef database update
to apply migrations. Create a new migration with the command dotnet ef migrations add <name>
when you maken changs to the database structure. Migrations are required to deploy the application, without a deployment will fail!