This repository contains the source code for the https://fullstackeurope.com website.
The following tools are required in order to start the installation.
- PHP 8.2
- Composer
- NPM
- A valid Laravel Nova license
- Clone this repository locally with
git clone git@github.com:fullstackeurope/fullstackeurope.com.git fullstackeurope.com
- Setup a local database called
fullstackeurope
- Copy the
.env.example
file to.env
and fill in the database credentials - Add the
auth.json
file from below to the root of the project - Install the PHP dependencies with
composer install
- Generate a new app key with
php artisan key:generate
- Prepare the database by running
php artisan migrate --seed
- Link the public storage directory with
php artisan storage:link
- Install and compile the front-end dependencies with
npm install && npm run setup && npm run dev
- Serve the website locally by running
php artisan serve
You can now visit the app in your browser by visiting http://127.0.0.1:8000. You can login into the back-end at http://127.0.0.1:8000/nova with test@example.com
& password
.
Your auth.json
file at the root of the project should contain your Nova credentials:
{
"http-basic": {
"nova.laravel.com": {
"username": "Your Nova email address",
"password": "Your Nova license key"
}
}
}
Command | Description |
---|---|
php artisan test |
Run the tests |
php artisan migrate:fresh --seed |
Reset the database |
npm run setup |
Install the dependencies for each edition |
npm run dev |
Compile front-end dependencies |
npm run watch |
Watch for changes in CSS and JS files |
vendor/bin/envoy run deploy (*) |
Run a full deployment |
vendor/bin/envoy run deploy-code (*) |
Fast deploy source code only |
(*) Note that you'll need SSH access to the production server in order to run these commands.