Nano112 / quasi-connectivity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quasi Connectivity website

Setup

  • Install docker documentation
  • Make sure docker is running in rootless mode documentation
  • Install docker-compose documentation
  • ⚠️ MAKE SURE .env IS SET UP CORRECTLY or sail will create a broken database
    • Copy .env.example to .env for default config
      cp .env.example .env 
  • Bootstrap sail
    • Install composer and dependencies
      docker run --rm \
          -u "$(id -u):$(id -g)" \
          -v $(pwd):/var/www/html \
          -w /var/www/html \
          laravelsail/php81-composer:latest \
          composer install --ignore-platform-reqs
  • Create an alias for sail, that alias can be added to your ~/.bashrc or ~/.zshrc to have it on terminal startup
    • alias sail='./vendor/bin/sail'
    • echo "alias sail='./vendor/bin/sail'" >> ~/.bashrc
      source ~/.bashrc
  • Run sail
    sail up -d
  • Run key generation
    sail artisan key:generate
  • Run migration
    sail artisan migrate
  • Run seeding
    sail artisan db:seed
  • Run npm install
    sail npm install

About


Languages

Language:PHP 60.5%Language:Blade 39.1%Language:Shell 0.4%Language:Dockerfile 0.0%