Steps To Host Project OnThe Window Server or run on Localhost:
Place your project inside the htdocs folder of XAMPP. Following is the path:
Open phpMyAdmin in the browser to create a database for the project.
Create a new database with any name, for example demo_db (name of the database).
Export project database into the newly created database of phpMyAdmin
Now open the .env file & set database username, password & production configuration. Path of .env file is as following
Update the following of .env file, example
Update the name of the database, username & password in the above respective fields.
Now run the project in the browser, for example:
1. 80 in URL is the port number. It can vary from system to system. Kindly use the port that’s displaying in the URL of PHPMyAdmin
2. If you get the following error while running the project :
Then check the database username & password of .env file if its updated correctly or not.
If you don't know the username & password of your PhpMyAdmin then visit the link to know it:
3.Composer is pre-installed in the server if not then it needs to be downloaded & installed in the server to run the project.
4. Download URL of composer file: