Step 1: Install Dependency Packages
npm install or npm i
Step 2: Update Environment Variables
Example for production
file:
VUE_APP_MODE=production
VUE_APP_API_URL=http://localhost:8000/api
Example for developement
file:
VUE_APP_MODE=development
VUE_APP_API_URL=http://localhost:8000/api
Step 3: Running Application
npm run serve
(Normal Vue JS)
Step 1: Install the Packages
composer install or composer i
Step 2: Update the Environment Variables
DB_DATABASE= YOUR_DB_NAME
DB_USERNAME= root
Step 3: Migrate migrateion table to database
php artisan migrate
Step 4: Migrate default admin user to database with seeder
php artisan db:seed
Step 5: Set up your email in .env file
MAIL_DRIVER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
MAIL_USERNAME=you@gmail.com
MAIL_PASSWORD=sadanfsnskadf
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=you@gmail.com
MAIL_FROM_NAME=PNCAA
php artisan key:generate
Step 7: Running Application
php artisan serve
--port=YOUR_PORT (port is optional)
http:://YOUR_IP_ADDRESS:YOUR_PORT
Example for local development environments
: