Skip to content

A sample web project for demo to PNC student about Github Actions

Notifications You must be signed in to change notification settings

strxth/SAMPLE-VC-2023

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I. Front End

Step 1: Install Dependency Packages

  • cd .\frontend\

npm install or npm i

Step 2: Update Environment Variables

  • Update env.production and env.development with IP Address of your Backend server

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)

II. Backend

Step 1: Install the Packages

  • cd .\backend\

composer install or composer i

Step 2: Update the Environment Variables

  • copy .env.example file to the .env file
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

Example:

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

Step 6: Create app key

php artisan key:generate

Step 7: Running Application

  • If you are in local development environments

php artisan serve --port=YOUR_PORT (port is optional)

  • If you are in production environments

http:://YOUR_IP_ADDRESS:YOUR_PORT

Example for local development environments:

http://127.0.0.1:8000

About

A sample web project for demo to PNC student about Github Actions

Resources

Stars

Watchers

Forks

Languages

  • PHP 78.2%
  • Blade 17.7%
  • Vue 1.9%
  • Other 2.2%