MVCWeather
1.0.0
เว็บไซต์ที่สะอาดและทันสมัยสำหรับสภาพอากาศและการพยากรณ์อากาศในปัจจุบัน ฉันสร้างสิ่งนี้ขึ้นมาภายในเวลาประมาณหนึ่งสัปดาห์เพื่อทดลองกับ asp.net บน linux ผ่านทาง .net core ฉันยังต้องการมุ่งเน้นไปที่องค์ประกอบการออกแบบเพื่อให้ได้รูปลักษณ์ที่สะอาดตา
เร็วๆ นี้..
vagrant up
vagrant ssh
cd /MVCWeather
dotnet restore src/MVCWeather
dotnet restore test/MVCWeather.Tests
dotnet build src/MVCWeather --no-incremental
dotnet build test/MVCWeather.Tests --no-incremental
dotnet test test/MVCWeather.Tests
ข้อกำหนดเบื้องต้น: memcache
docker pull memcached
docker run --name something-memcached -d memcached
เรียกใช้คอนเทนเนอร์
docker build -t tsears/weather ./
docker run -i -t --env-file .env.list -p 127.0.0.1:5000:5000 --link something-memcached:memcache tsears/weather