šŗ A Beer catalog featuring a login page and a paginated view of all available beers. š»
Clone the repository:
git clone [email protected]:gianni/BREWherehouse.git
Move to the directory:
cd BREWherehouse
Open VSCode:
code .
Start DevContainer:
In the VSCode menu
Riquadro Comandi > DevContainer: Rebuild and reopen in container
Install php and npm packages:
In the shell of the DevConatainer execute these commands.
composer install
npm install
Create a .env file:
cp .env.example .env
Start Apache and ViteJs server:
service apache2 start
npm run dev
Generate keys:
php artisan key:generate
php artisan jwt:secret
Execute migration and seed the database:
php artisan migrate
php artisan db:seed
Add local domain to the hosts file (root user):
echo "127.0.0.1 www.brewherehouse.loc" >> /etc/hosts
Point the browser to this url
http://www.brewherehouse.loc:8080