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 install
Before 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 build
You can also easly test the app in production using docker-compose, just run this command:
$ docker-compose up
Make 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-trouble
This repository use gitmoji as commit convention. You can write commit manually or use the gitmoji-cli :
$ npm install -g gitmoji-cli
This 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).