# Setting and running a project using terminal

**URL:** <https://discourse.nodered.org/t/setting-and-running-a-project-using-terminal/88310>\
**Category:** General\
**Created:** [28 May 2024 05:13 UTC](https://discourse.nodered.org/t/setting-and-running-a-project-using-terminal/88310 "2024-05-28T05:13:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbean17](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bigbean17/32/89814_2.png) [@bigbean17](https://discourse.nodered.org/u/bigbean17)\
**Post date:** [28 May 2024 05:13 UTC](https://discourse.nodered.org/t/setting-and-running-a-project-using-terminal/88310/1 "2024-05-28T05:13:24Z")

</div>

Hi,

I'm trying to clone a project (codebase) from github into the projects folder and run that project. Here are what I did:

- Install node, node-red
- Change the `credentialSecret` in the settings.js
- Clone the project and install its dependency
- run `sudo node-red`

The first issue is that I created a project long time ago, after I run `sudo node-red`, it shows me a warning `Project not found: old_project`. Where can I change the that thus it does not expect the old project?

The second issue is that it keeps asking me the credential in the web interface, but I've already set that up in the settings.js, am i missing something else?

So overall, I'm trying to automatically install and run the project without any manual settings. Any help would be appreciated!

Thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 August 2024 05:13 UTC](https://discourse.nodered.org/t/setting-and-running-a-project-using-terminal/88310/2 "2024-08-26T05:13:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
