Skip to content

ernstaii/SOPROJ11Q

Repository files navigation

Hunted

master dev Issues Pull Requests

Features

Configuration steps for contribution

  • Clone the project.
  • cd into your project folder.
  • Run the following commands:
    • composer install | Install all dependencies
    • cp .env.example .env | Create a fresh .env file
    • php artisan key:generate | Generate an unique encryption key
  • Fill the .env file with all necessary information
  • (Opt.) If you're using a local database for testing purposes run the following commands:
    • php artisan migrate:fresh | Migrate the database
    • php artisan db:seed | Seed the database with test data

Hosting the API and web portal

In order to run the api locally

  • php artisan serve

If the API produces 404 errors on routes where it shouldn't, run the following command:

  • php artisan optimize

In order to run the api locally but allow access to other devices / emulators

  • ipconfig
  • Copy your ipv4 address
  • php artisan serve --host <IPV4 ADDRESS>

Links


Made by: Group Q

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors