Guide to Install Admin on Windows
This guide will help you install the Investra admin panel on your Windows machine. The admin panel is built using Laravel.
Prerequisites
Before you start, make sure you have the following installed on your Windows machine:
Please follow the below steps,
- Extract the investra package that you download from CodeCanyon.
- After that you see two zip files called 'core.zip', 'deployment.zip' and 2 folders local_deployment, documentation.
- Now extract the core.zip file to the core folder.
- Extract the core folder and now you will get four zip files called
admin.zip,standalone-client.zip,static-client.zipandmobile.zipon core folder.
As You can see the folder structure like below,
investra
├── documentation
├── core
│ ├── admin.zip
│ ├── standalone-client.zip
│ └── static-client.zip
├── local_deployment
└── deployment.Zip
Step 1: Install XAMPP
- Download XAMPP from the official website.
- Run the installer and follow the on-screen instructions.
- Start the Apache and MySQL services in XAMPP.
Step 2: Install Composer
- Download Composer from the official website.
- Run the installer and follow the on-screen instructions.
- Open a command prompt and run the following command to verify the installation:
composer --version
Step 3: Install Node.js
- Download Node.js from the official website.
- Run the installer and follow the on-screen instructions.
- Open a command prompt and run the following command to verify the installation:
node --version
Step 4: Install Our Admin Project
Note: If you are a developer please follow the below steps to install our Admin project. If you are not a developer please use the below steps only follow GUI steps.
- Extract our project files to the directory then in this folder have 3 files documentation and core zip file. Extract core zip file to core folder. Than will see two folder another two zip files one is admin and other is client. Extract admin zip file to admin folder.
cd ~/Downloads/investra
- Comment the below line on
/public/index.phpfile:
if (! file_exists(__DIR__.'/../storage/installed')) {
header('Location: /installer/index.php');
exit;
}
to
// if (! file_exists(__DIR__.'/../storage/installed')) {
// header('Location: /installer/index.php');
// exit;
// }
- Open a command prompt (terminal) and navigate to the project directory.
- Run the following command to install the project dependencies:
composer install
-
Create a copy of the
.env.examplefile and rename it to.env. Update.envfile with database credentials (DB name, user, password, etc.) and other related information -
Generate an application key by running the following command:
php artisan key:generate
- Run the following command to migrate the database:
php artisan migrate
- Generate the application storage link by running the following command:
php artisan storage:link
- Generate dummy data by running the following command:
php artisan db:seed
- Start the Laravel development server by running the following command:
php artisan serve
- Also start the npm server by running the following command:
npm run dev
- Open a web browser and navigate to
http://localhost:8000to view the Laravel project.
Conclusion
Congratulations! You have successfully installed investra admin 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. 🚀