Skip to content
This repository has been archived by the owner. It is now read-only.
Coding Labs Bootcamp #2
PHP HTML Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
.styleci.yml
artisan
composer.json
composer.lock
package-lock.json
package.json
phpunit.xml
postcss.config.js
readme.md
server.php
tailwind.config.full.js
tailwind.config.js
webpack.mix.js
yarn.lock

readme.md

How to install Laravel project

  • Clone your project eg. "git clone git@github.com:codinglabsau/bootcamp-2.git"
  • Go to the folder application using cd command on your cmd or terminal
  • Run "composer install" on your cmd or terminal
  • 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 or Mac.
  • 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.
  • If database hasn't been created, you need to login to MySQL via terminal mysql -u root -p, where root is the MySQL user, then input your password, then just create the database using the SQL CREATE DATABASE my_db; where my_db is the database name and finally just update your .env file with your database and credentials.
  • 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 "composer dump-autoload"
  • Run "php artisan migrate:fresh"
  • Run "php artisan db:seed"
  • Run "php artisan serve"
  • Go to localhost:8000
You can’t perform that action at this time.