# Angular Admin Setup

Before you get started with the initial setup of Angular admin and running your application, make sure you have your [Prerequisites ](/getting-started/prerequisites.md)are in place.&#x20;

**Step 1 -** Unzip your file and open it with your desired IDE and then go to terminal and type

```
  npm install 
```

If npm Install doesn't work, then try the command below:

```
npm install --force
```

**Step 2 -** Navigate to project folder → src→ environments → environment.ts after that ,

```
export const environment = { 
production: false, 
baseUrl: '<Your API base url>', // eg: 'http://localhost:8000/backend/api/' 
imageUrl: '<Your API url for image resize>', // eg: 'http://localhost:8000/backend/api/media/image-resize/' 
productUrl: '<Your store base url>', // eg: 'http://yourip.com/' 
relatedproductUrl : '<Your store base url>', // eg: 'http://yourip.com/' 
blogUrl : '<Your store base url>', // eg: 'http://yourip.com/' 
pluginUrl: '<Your API url>' // eg: 'http://yourip.com/'
};
```

**Now, Run your Application:**&#x20;

To run application in your respective browser, run the following command:

```
npm run large-serve
```

To build and deploy your Application refer to [Front End Angular Admin Setup.](/front-end-angular-admin-setup.md)&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spurtcommerce.com/getting-started/development-and-setup/angular-admin-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
