Last active
August 5, 2022 15:13
-
-
Save sharbel93/93ed0c024d6aabecb7c93d308398d7c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-git clone linktogithubrepo.com/ projectName | |
-Go to the folder application using cd command on your cmd or terminal | |
-Run composer install on your cmd or terminal | |
-Run npm install ( | |
if error encountered in this process, | |
1). rm -rf node_modules ->2). npm cache clear --force ->3). then npm install | |
Or | |
1). npm cache clear --force ->2). then npm install | |
) | |
-cp .env.example .env -> Copy .env.example file to .env on the root folder. You can type copy .env.example .env if using command prompt Windows or cp .env.example .env if using terminal, Ubuntu | |
-Open your .env file and change the database name (DB_DATABASE) to whatever you have, username (DB_USERNAME) and password (DB_PASSWORD) field correspond to your configuration. | |
By default, the username is root and you can leave the password field empty. (This is for Xampp) | |
By default, the username is root and password is also root. (This is for Lamp) | |
-Run php artisan key:generate | |
-Run php artisan migrate | |
-Run php artisan db:seed (Optional: only if the repo tells you that it has a dummy data to run ) | |
-Run php artisan serve | |
-Go to localhost:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment