mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-02-12 08:52:03 +00:00
21 lines
982 B
Markdown
21 lines
982 B
Markdown
# koodiklinikka.fi API
|
|
|
|
[ ](https://codeship.com/projects/57155)
|
|
|
|
### Start developing
|
|
* Install node.js & install dependencies
|
|
```
|
|
$ git clone git@github.com:koodiklinikka/koodiklinikka.fi-api.git
|
|
$ cd koodiklinikka.fi-api
|
|
$ 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.
|
|
|
|
### Run development environment
|
|
|
|
* ``` $ npm start ```
|
|
|
|
Now app will be running on `localhost:9000`. |