Skip to main content

Guide to Install Web on Windows

This guide will help you install the Investra web frontend on your Windows machine. The web frontend is built using Next.js.

Prerequisites

Before you start, make sure you have the following installed on your Windows machine:

Please follow the below steps,

  1. Extract the investra package that you download from CodeCanyon.
  2. After that you see two zip files called 'core.zip', 'deployment.zip' and 2 folders local_deployment, documentation.
  3. Now extract the core.zip file to the core folder.
  4. Extract the core folder and now you will get four zip files called admin.zip, standalone-client.zip, static-client.zip and mobile.zip on core folder.

As you can see the folder structure like below,

investra
├── documentation
├── core
│ ├── admin.zip
│ ├── standalone-client.zip
│ ├── static-client.zip
│ └── mobile.zip
├── local_deployment
└── deployment.Zip

Step 1: Install Node.js

  1. Download Node.js from the official website.
  2. Run the installer and follow the on-screen instructions.
  3. Open a command prompt and run the following command to verify the installation:
node --version

Step 2: Install Our Client Project

  1. Extract the client project files to the directory.
  2. Open a command prompt and navigate to the project directory.
  3. Run the following command to install the project dependencies:
npm install --force
  1. copy the .env.example file and rename it to .env and update the values in the .env file.

Step 3: Configure Environment Variables

cp .example.env .env
NEXT_PUBLIC_API_URL=https://your-backend-url.com #required
NEXT_PUBLIC_TOKEN_NAME=token
NEXT_PUBLIC_ASSET_URL=https://your-backend-url.com

Step 4: Start the Frontend

npm run dev

Now you can access the frontend at https://your-backend-url.com

Conclusion

Congratulations! You have successfully installed investra web on your Windows machine. You can now start customizing your application. If you have any questions, feel free to reach out to our support team. 🚀