- .NET Core
- Yarn
- Node.js
To build the whole application, first build the client. It will output a single js file (bundle.js
) in the wwwroot
directory.
Go to the client directory
cd Client
The first time you need to install dependencies.
yarn install
To compile once you can use webpack-cli
. If you prefer to compile on change (which is nicer while developing) use webpack --watch
.
To install both tools you can do the following:
yarn global add webpack-cli
yarn global add webpack
Don't forget to add yarn global directory to path so these executable can be found.
Once the client is built, you can build the server. Just type :
dotnet run
To run the server or
dotnet watch run
to compile on change
Just type:
docker build -t aspnetapp .
docker run -P aspnetapp