- .NET Core SDK 2.2
- node 10+
- npm 6+
- Chrome for tests
dotnet restore
dotnet build
dotnet run -p src/server/server.csproj
Open browser on URL https://localhost:5001/. Ignore SSL certificate error.
The service could be run inside Docker container. You can either build the image locally or pull the image from Docker Hub.
Docker commands are run from solution root. If your Docker installation requires elevated permissions, consider using sudo
or running under Administrator privileges.
Image build takes some time and significant disk space (uo to 2 GB) for intermeiate SDK layers. To build the image locally, run this command:
docker build . -t timbabyuk/dt-demo
Instead of building image locally, you canjust pull it from Docker Hub. Demo service image is stored in timbabyuk/dt-demo
repository. To pull the image, execute:
docker pull timbabyuk/dt-demo
Once image is built or pulled, execute this command to run container from the image:
docker run -p 8080:80 timbabyuk/dt-demo
Now demo application is available on localhost, port 8080, URL http://localhost:8080
If 8080 port occupied, you can specify another in docker run
command.
dotnet test
Ensure that Chrome is installed and available in path. On Linux run:
export CHROME_BIN=chromium-browser
Run:
ng test
from src/ui
folder
ng e2e
from src/ui
folder