Please direct any questions to t.me/leotsarev or leo@joinrpg.ru
This guide presumes that you have Windows. If you have other OS, you should replace Windows-specific components with respective counterparts. I.e. VS → VS Code.
- Start with forking this repository on github.
- Download Visual Studio 2022. Community Edition should be enough.
- Download .Net Core 9 SDK.
- Input you github credentials into Visual Studio and clone your repository. Or clone repository using Git cmd client or Github for windows or whatever you like.
- Install docker
- (Optionally) Perform the following git commands to ease rebase on upstream:
git remote add upstream https://github.com/joinrpg/joinrpg-net.git
git fetch upstream
- Run
docker compose up -d
. It will start PostgreSQL and SQL Server in background. - For creating DBs you can run JoinRpg.Dal.Migrate
- Compile VS project and observe package restoring and everything happens
- Tap F5 and you should be there.
- Some features will be disabled — it's all about integration to Remote systems — email, social services login etc. If you want to test this, you will need to provide correct keys in appsettings.json.
- By default, emails will be just logged.
- First logged-in user will have his email automatically confirmed and adminstrator flag will be set.
- 1 branch = 1 feature.
- Test your changes locally, etc.
- Execute
dotnet format
, to apply project's code styles - Commit.
- Rebase your changes on top of
upstream/master
- Open pull request via Github UI from your branch to
joinrpg/joirpg-net/master
We using a lot of telegram chats to talk about Joinrpg. Developer's question could be addressed to https://t.me/joinchat/AAAAAEKdDvRjI0Z1n79EJA сhat.
Some common code practices, used amongst this repository
- If possible, avoid the usage of regular expressions