# My Site ### Technologies assumed - php 8.1 - Laravel 10.0 - Livewire: 2.10 - Postgres 14.1 - node 18.2.0 - sass 1.55 ## Dependencies - php 8.1 - composer - node - On IIS, we need a web.config file (included here at the root level) - Postgres DB needs to be set up for this. The values should be entered in the .env file once you have them ## Configuration Building the app: - composer install --optimize-autoloader --no-dev - npm install && npm run build && node build_service_worker IMPORTANT: For deploy, we need to make sure the CI script includes the environment variables file (.env) at the root in the repo. Use .env.example values for .env, and insert the database values where needed. Post deploy, the following commands need to be run to configure the application for production: - php artisan migrate --force - php artisan db:seed ApplicationPrepSeeder - php artisan config:cache - php artisan route:cache - php artisan view:cache - php artisan optimize IMPORTANT: like any app that uses a specific version of php, it's required to do the following when running these commands: 1. run these commands at the root of the project. e.g. D:\path\to\app\mysite 2. the full path of the php used needs to be used. e.g. D:\php\php8.1.11\php.exe artisan migrate --force 3. The following emails have been added to the app's seeders to allow for the initial users to login: mysitePM@epri.com, mySQAcontact@epri.com