Skip to content

staradzinau/app-cybersecurity-portal

Repository files navigation

Cybersecurity Portal Application

Create a local development instance from scratch

  • Prerequisites: installed locally docker and docker-compose
  • Clone the repository: git@github.com:staradzinau/app-cybersecurity-portal.git
  • Go down to the new directory: cd app-cybersecurity-portal
  • Create the env file from the template: cp .env.example .env
  • Adjust, if needed, variables in the .env file.
  • Install Composer dependencies: docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/var/www/html" -w /var/www/html laravelsail/php82-composer:latest composer install --ignore-platform-reqs. See details here
  • Start Laravel Sail: ./vendor/bin/sail up -d, see details here
  • Generate the key for the application: ./vendor/bin/sail artisan key:generate. Details
  • Migrate your database: ./vendor/bin/sail artisan migrate
  • Set up the frontend with 2 consecutive commands: ./vendor/bin/sail npm install and then ./vendor/bin/sail npm run dev
  • The application is ready. Available by the APP_URL parameter value in the .env file (default). Mailpit email testing tool UI: http://localhost:8025/

When the application is already deployed, following 2 commands would be enough to run the app: ./vendor/bin/sail up -d and ./vendor/bin/sail npm run dev

About

Laravel-based application: cybersecurity portal

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages