mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-03-10 13:02:28 +00:00
fix merge conflict in readme
This commit is contained in:
30
README.md
30
README.md
@@ -2,20 +2,18 @@
|
|||||||
|
|
||||||
[ ](https://codeship.com/projects/57155)
|
[ ](https://codeship.com/projects/57155)
|
||||||
|
|
||||||
### Start developing
|
* Install [Node.js](https://nodejs.org/en/) with your preferred installation method.
|
||||||
* Install node.js & install dependencies
|
* Clone the repository and install dependencies.
|
||||||
```
|
```
|
||||||
$ git clone git@github.com:koodiklinikka/koodiklinikka.fi-api.git
|
$ git clone git@github.com:koodiklinikka/koodiklinikka.fi-api.git
|
||||||
$ cd koodiklinikka.fi-api
|
$ cd koodiklinikka.fi-api
|
||||||
$ npm install
|
$ npm install
|
||||||
```
|
```
|
||||||
|
* Create `config.json` file. See [config.template.json](https://github.com/koodiklinikka/koodiklinikka.fi-api/blob/master/config.template.json) for possible options.
|
||||||
|
The config file consists of environment specific blocks. Environment variable `NODE_ENV` determines which block is used. If the environment variable is not present, the `development` block will be selected.
|
||||||
|
`all` block is always used and the block selected is merged into it so that it overwrites the values defined in it.
|
||||||
|
|
||||||
-* Create `config.json` file. See [config.template.json](https://github.com/koodiklinikka/koodiklinikka.fi-api/blob/master/config.template.json) for possible options.
|
* Start the development environment.
|
||||||
-The config file consists of environment specific blocks. Environment variable `NODE_ENV` determines which block is used. If the environment variable is not present, the `development` block will be selected.
|
```
|
||||||
-`all` block is always used and the block selected is merged into it so that it overwrites the values defined in it.
|
$ npm start
|
||||||
|
```
|
||||||
### Run development environment
|
|
||||||
|
|
||||||
* ``` $ npm start ```
|
|
||||||
|
|
||||||
Now app will be running on `localhost:9000`.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user