# Node Red deployable file

**URL:** <https://discourse.nodered.org/t/node-red-deployable-file/3161>\
**Category:** General\
**Created:** [15 September 2018 06:20 UTC](https://discourse.nodered.org/t/node-red-deployable-file/3161 "2018-09-15T06:20:06Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 September 2018 20:07 UTC](https://discourse.nodered.org/t/node-red-deployable-file/3161/28 "2018-09-24T20:07:39Z")

</div>

> [@mapos](#):
>
> by default a new dir .node-red is created under the user dir and all nodes files with flows are stored there rather than in the local dir i have created  
> this is confusing, i would expect the .node-red and node folders being created locally

Yes, that's the default. Easy for beginners. This initial complexity is why the default is as it is.

You simply need to adjust your startup. Here, for example is the package.json in my master Node-RED folder:

```json
{
  "name": "node-red-master",
  "version": "0.19.0",
  "description": "Test environment for developing Node-RED flows",
  "main": "index.js",
  "scripts": {
    "start": "node node_modules/node-red/red.js --userDir ./data",
    "update": "npm install --unsafe-perm node-red",
    "check": "npm outdated",
    "check-data": "cd data && npm outdated",
    "update-data": "cd data && npm update",
    "check-master": "npm outdated",
    "update-master": "npm update",
    "log": "sudo journalctl -u nrlive -f -n 0 -o cat"
  },
  "keywords": [
    "node-red"
  ],
  "author": "Julian Knight",
  "license": "MIT",
  "dependencies": {
    "node-red": "^0.19.4"
  }
}

```

With that, you can start Node-RED manually simply by typing `npm start` on the command line when in that folder. Note that Node-RED itself is the only package installed in that folder.

Also note that my `userDir` folder is called `data` and it sits inside that master folder.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-deployable-file/3161)._
