-
Notifications
You must be signed in to change notification settings - Fork 2
Getting started
Before starting verify you have all required tools installed and configured.
Install this tools for better developing experience:
If you are using VisualStudio you can download this extensions that simplifies selecting multiple projects.
To use it, you need to setup its configuration file - PostOffice.sln.startup.json.
The .env file is used to define environment variables that will be applied before starting any project in the solution.
It is a file tool to override values for any common configuration settings like connection strings.
The .env and PostOffice.sln.startup.json file is not stored in git repository and you have to create them on your own.
Use .env.sample and PostOffice.sln.startup_sample.json files correspondingly as a samples.
Use scripts/setup.cmd to create initial version of .env and PostOffice.sln.startup.json.
The script is basically just copying the sample files.
Verify that you have correct values for connection strings.
You are allowed to do any changes in .env and PostOffice.sln.startup.json.
Note services use IP address of your
virtual machine. To find it out typedocker-machine ipin console
Use scripts/init.cmd to restore dependencies on client and server sides.
Use scripts/build.cmd to build all projects in solution.
To build solution for developing purpose open
PostOffice.slninVisualStudioand pressctrl + shift + B
- Start all required services. Run
Infrastructure/runall.cmd - Start all required projects. Run
script/runall.cmd
- Start all required services. Run
Infrastructure/runall.cmd - Run API server in
VisualStudioor with consoledotnet run --project PostOffice.API - Run SmsSender service in
VisualStudioor with consolefunc start - Run Angular server with console
npm run start