dotnet restore
SQLServer is used to persist the generated permutations and schedule. It also helps generate schedules by using cross joins to make the Cartesian product of the data.
When running the projects an sophisticated server would speed up the process. Having at least 2 cores and 6gb RAM is recommended for SQL server to perform smoothly. Run the following commands when setting up an server:
Local:
dotnet publish -c Release -r linux-x64 --self-contained true- Copy output of the release folders(MultiThreadedPermutations and Aggregator) to central hosting like AWS S3.
Server:
wget https://my-bucket.s3-eu-west-1.amazonaws.com/Aggregator.zipwget https://my-bucket.s3-eu-west-1.amazonaws.com/MultiThreadedPermutations.zipunzip Aggregator.zip -d Aggregatorunzip MultiThreadedPermutations.zip -d MultiThreadedPermutations- Install SQL server
- Patch the installation
- start the permutations in the background:
./MultiThreadedPermutations/MultiThreadedPermutations abcdefghijkl > MultiThreadedPermutations_output.log 2>&1 &- when the permutations are finished(check
MultiThreadedPermutations_output.log) start the Aggregator:
./Aggregator/Aggregator > Aggregator_output.log 2>&1 &- When the Aggregator(check
Aggregator_output.log) retrieve the results from the database

