daud
daud copied to clipboard
game engine behind daud.io
Daud.io - game
https://daud.io
Deploying to heroku
Requirements
- Microsoft dotnet core 5.0 SDK - https://dotnet.microsoft.com/download
- Node js - https://nodejs.org/en/
Suggestions
- Github Desktop - https://desktop.github.com/
- VS Code - https://code.visualstudio.com/
Running from the command line
-
git clone https://github.com/daud-io/daud.git
-
cd daud/Game.Engine/wwwroot
-
npm install
-
npm run build
-
cd ..
-
dotnet run
ordotnet run -c Release
This should start a web server at http://localhost:5000 open Game Modes and look for your local server rooms at the bottom of the list
Publishing to Heroku
- Set up an account on Heroku and on Docker Hub
-
./deploy.sh
If you get an error that the file './deploy.sh' is not executable by this user: run chmod +x ./deploy.sh
Getting the Code
If you don't have github, create a github account clone the repository https://github.com/daud-io/daud
Opening and Running
Navigate to the code repository in finder Double click "Game.Engine.sln" If the project opens in Visual studio, that is good.
You can now run the project locally with the run button.