Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to start services in local like NGUI with VITE_proxy in .env? #226

Open
shadabmalik096rs opened this issue Mar 5, 2024 · 2 comments

Comments

@shadabmalik096rs
Copy link

No description provided.

@ek-hystax
Copy link
Contributor

ek-hystax commented Mar 5, 2024

Hello @shadabmalik096rs

Here's a small guide to help you get started

  1. Navigate to NGUI Directory:
cd ngui/ui
  1. Configure Environment Variables:
    Ensure that you set up the necessary environment variables. For local development, it should be sufficient to specify the VITE_PROXY variable. For detailed guidance on configuring the VITE_PROXY variable, please refer to this link.

  2. Install Dependencies:
    Make sure you have pnpm and node installed, we are currently using node@v20.10.0 and pnpm@8.12.1

pnpm i --frozen-lockfile
  1. Start NGUI Project:
pnpm start

@shadabmalik096rs
Copy link
Author

Yes ngui for front end But i want make changes in rest_api classes and test them via postman in my local machine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants