Skip to content

DJJones66/ludustack-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ludustack

License

Name Deploy Code Factor Better Code
development Quality Gate Status CodeFactor BCH compliance
master Quality Gate Status CodeFactor BCH compliance

Table Of Contents

Technical specifications

  • DDD oriented
  • ASP.NET Core 3.1
  • Mongodb

Preparing the environment

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.

How to run

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.

License

This project is licensed under the MIT License

About

Making gamedev dreams come true.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 49.1%
  • HTML 29.8%
  • JavaScript 13.4%
  • CSS 7.6%
  • Dockerfile 0.1%