Name | Deploy | Code Factor | Better Code |
---|---|---|---|
development | |||
master |
- DDD oriented
- ASP.NET Core 3.1
- Mongodb
Create an account at https://cloudinary.com and get the CLOUDINARY_URL provided on your dashboard.
You need the following Environment Variables on your system:
Name | Value |
---|---|
CLOUDINARY_URL | cloudinary://{yourapikey}:{yourapisecret}@{yourcloudname} |
If you need to clean the certificate mess on your machine, run this:
dotnet dev-certs https --clean
If any window pops up asking if you want to delete the certificate from the root store, confirm it.
To generate a new dev certificate, run this:
dotnet dev-certs https --trust -ep $env:USERPROFILE.aspnet\https\aspnetapp.pfx -p SECRETPASSWORD
If any window pops up asking if you want to install the certificate, confirm it.
Now you have a certificate file named aspnetapp.pfx at *%USERPROFILE%.aspnet\https*.
You may see a message like "A valid HTTPS certificate with a key accessible across security partitions was not found". Don't worry, this is a known issue and will be fixed by the dotnet team as soon as possible.
To run the whole application inside a container, run the following command:
docker-compose up
This command will download the needed images from the docker hub and start two containers:
- ludustack-db;
- luduscack-web;
To run a local container of the mongodb database, run the following command:
docker-compose -f ./docker-compose.db.yml up
This command will start only the ludustack-db, allowing you to connect to the database by running the project using dotnet run command or the solution on Visual Studio.
This project is licensed under the MIT License