We're really glad you're reading this. 👏
Before install the project you need to have a server with :
These steps will guide you through contributing to this project:
- Fork the repo
- Clone it and install dependencies
$ git clone https://github.com/<YOUR-USERNAME>/highscore
$ cd highscore
$ npm installBefore develop you need to create an .env file with all the environnement variables configured. To see all available variables, see the .env.example file. After this just run the following command :
$ npm run start
To create the production build just run this command :
$ npm run buildYou can also easly test the app in production using docker-compose, just run this command:
$ docker-compose upMake and commit your changes. Make sure the commands npm run build and docker-compose up are working.
Before begin to write some code create a branch :
# For a feature always namespace your branch with `feature`
$ git branch -b feature/my-super-feat
# For a hot fix always namespace your branch with `fix`
$ git branch -b fix/fix-a-big-troubleThis repository use gitmoji as commit convention. You can write commit manually or use the gitmoji-cli :
$ npm install -g gitmoji-cliThis is an example of feature commit :
✨ My super feature
Finally send a GitHub Pull Request with a clear list of what you've done (read more about pull requests). Make sure all of your commits are atomic (one feature per commit).