mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 13:40:16 +08:00
changed CONTRIBUTING.md codeblock format
This commit is contained in:
parent
78b624023a
commit
789a5f47cc
1 changed files with 10 additions and 1 deletions
|
@ -3,9 +3,18 @@
|
|||
1. Head to [the firebase console](https://console.firebase.google.com/u/0/) and make a new project (the project name doesnt really matter, but just name it `monkey-type`). You dont need to enable analytics for it.
|
||||
2. Install the [Firebase Command Line Interface](https://firebase.google.com/docs/cli), and use `firebase login` to log in to the same google account as you just used to make the project.
|
||||
3. Git clone the project and make sure to rename `.firebaserc_example` to `.firebaserc` and change the project name inside to your firebase project name you just created.
|
||||
|
||||
- If `.firebaserc_example` does not exist after cloning, create your own:
|
||||
`{ "projects": { "default": "monkey-type-dev-67af4", "live": "monkey-type" } }`
|
||||
|
||||
{
|
||||
"projects": {
|
||||
"default": "monkey-type-dev-67af4",
|
||||
"live": "monkey-type"
|
||||
}
|
||||
}
|
||||
|
||||
- The "live" option in `.firebaserc_example` is not necessary.
|
||||
|
||||
4. Run `firebase serve` to start a local server on port 5000. Use ctrl+c to stop it.
|
||||
5. Run `firebase use default` if you run into any errors on step 5.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue