Skip to content
/ wp2 Public

College (PXL) group project 2 for Web Advanced (Laravel)

Notifications You must be signed in to change notification settings

symonxdd/wp2

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Serve

  1. Choose a software stack (these instructions are for WAMP using MySQL)

  2. Either place the project in the www folder of WAMP; or create a VirtualHost for it.

  3. In project folder:

    1. Rename .env.example to .env
    2. Open it with a text editor en change the value of DB_DATABASE to afspraken_database (3. You might also have to change the DB_PORT variable, this is the port that your active Database listens to, either MySQL or MariaDB. You can find the active port by right-clicking the WAMP-icon in taskbar and going to Tools. There you'll find e.g 'Port used by MySQL: 3306')
  4. Create the database afspraken_database via phpMyAdmin

    1. Navigate to https://localhost/phpmyadmin/
      • Username: root
      • Password: <empty>
      • Server Choice: MySQL
    2. Click New, enter afspraken_database and click Create
  5. composer install && php artisan key:generate && php artisan migrate && php artisan db:seed

In case of problems with migrations: php artisan migrate:reset && php artisan migrate

Also, I added these as scripts to package.json:

  • php artisan migrate:reset
  • php artisan migrate
  • php artisan db:seed
  • composer dump-autoload

About

College (PXL) group project 2 for Web Advanced (Laravel)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published