InfyGPT Local Setup

You can setup InfyGPT into your local by using both zip files, but we recommend to use dist file so you have to perform minimal steps.

Here are some steps to setup InfyGPT into your local environment :

1. Install WebServer

To run it on local, the very first thing that you need is a web server. You can install xamp/wamp/mamp (MacOsX) or independently apache or nginx or your choice of the webserver which can run PHP Applications.

2. Server Requirements

Make sure, you meet all server requirements listed here.

3. Extract the Source code files

Create a folder in your local web server's root directory. E.g.

  • if you are using Wamp, then create InfyGPT folder under path_to_wamp/www/InfyGPT/
  • if you are using Xamp, then create InfyGPT folder under path_to_xamp/htdocs/InfyGPT/
  • if you are using Xamp, then create InfyGPT folder under path_to_mamp/htdocs/InfyGPT/

Then based on your choice, either extract dist.zip to the newly created folder.

4. Unzip dist zip to InfyGPT folder

4.1. Setup PostgreSQL Into Windows :

  • Setup PostgreSQL with PostGIS extension Here
  • Install PgVector Extension Here
  • Need to run following query to your database to create vector extension : CREATE EXTENSION vector;

4.2 Setup PostgreSQL Into MAC OSx :

  • Setup PostgreSQL by downloading given app Here
  • Download PgAdmin for GUI view Here
  • Setup PostgreSQL with PostGIS extension Install PostGIS extension Here
  • Install PgVector Extension Here
  • Need to run following query to your database to create vector extension : CREATE EXTENSION vector;

4.3 Import the database dump file :

  • You need to import the database dump file, you will find the dump file at database/gpt.sql into project directory.

Then based on your choice, either extract dist.zip to the newly created folder.

5.Point the domain to the uploaded folder

You will need to create a virtual host to set up InfyGPT. You can find steps here to create a virtual host.

  • Steps here to create a virtual host on XAMPP.
  • Steps here to create a virtual host on WAMP.
  • Steps here to create a virtual host on MacOSX.

Point your domain or subdomain to the public directory inside the InfyGPT folder.

Please note that InfyGPT must be installed on a primary domain or subdomain. Installing on a sub-folder will not work, for example:

example.com/infygpt (Invalid) localhost/infygpt (Invalid) (if you are putting it in a subfolder or root website) example.com (Valid) local.infy-gpt.com (Valid) infy-gpt.test (Valid)

Open the link to the domain in the browser (Example: local.infygpt.com).

6. Final Steps

Please follow Next Steps from here to setup the project