nyolamike / docv

A cv auditing platform in laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docv

A cv auditing platform in laravel

setup

  • Install PHP
brew install php@8.2
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

This will put the composer.phar file into the current directly. If you need composer to be global then move it to your PATH

sudo mv composer.phar /usr/local/bin/composer

Get Laravel using composer

composer global require laravel/installer

The installer will be downloaded and install laravel

Add laravel to your path in ~/.zshrc

nano  ~/.zshrc

add the following at the bottom of the file and restart your terminal or run source ~/.zshrc to load it in without closing the terminal

export PATH="$HOME/.composer/vendor/bin:$PATH"

Create a new project

laravel new docv

Install valet

composer global require laravel/valet

now run

valet install

This installs nginx, phpfpm, dnsmasq

Tell valet to use the current folder

sudo valet park

To see the site go to http://docv.test/

to see packed projects

sudo valet parked

to user .dev tld instead of .test

sudo valet tld dev
  • blade is template enginee that laravel uses
  • artisan is a command line utility for generating eloquent models
  • eloquent is our ORM
  • sanctum is an authentication library for laravel api
  • views are in the resources folder

About

A cv auditing platform in laravel


Languages

Language:PHP 72.3%Language:Blade 27.4%Language:JavaScript 0.3%