# Running the project

#### Requirements ✅ <a href="#requirements" id="requirements"></a>

* On your computer
  * If setting up using Docker
    * Installed [Docker](https://www.docker.com/)
    * Installed docker-compose (Bundled with the official Docker setup)
  * If setting up locally
    * Installed [Node.js 18](https://nodejs.org/en/)
    * Installed [yarn](https://yarnpkg.com/) package manager

#### Installation ⚙️ <a href="#installation" id="installation"></a>

**Git**

1. Clone the repo: `git clone https://github.com/pajicf/token-price-oracle-orchestrator.git`
2. Navigate to the folder: `cd token-price-oracle-orchestrator`
3. Fill the .env as in [this guide](environment-configuration)

After you complete the previous steps, the following instruction will vary based on that if you're trying to run the project using docker or your local setup

***

**Docker setup**

4. Run `docker-compose up`
5. That's it!

> If you've pulled new code files you'll have to rebuild the Docker image using `docker-compose build --no-cache token_price_oracle_orchestrator_ts`

**Running locally**

4. Run `yarn` to install the dependencies
5. Building the project: [![](http://localhost:63342/markdownPreview/1106768318/commandRunner/run.png)](http://localhost:63342/markdownPreview/1106768318/markdown-preview-index-2000371680.html?_ijt=opuu6acvqhoq8feui52i6k7d08)`yarn build`
6. Starting the project: [![](http://localhost:63342/markdownPreview/1106768318/commandRunner/run.png)](http://localhost:63342/markdownPreview/1106768318/markdown-preview-index-2000371680.html?_ijt=opuu6acvqhoq8feui52i6k7d08)`yarn start`

\
\
