**After you've cloned this beautiful repository, follow these steps:**

`lando artisan migrate`

`lando artisan db:seed`

`lando artisan migrate --path=/database/migrations/project/`

`lando artisan migrate:rollback --path=/database/migrations/project/`

In case you want to import from Patrimonium's API, the command below will help you:

`lando artisan importApi:import`

If you've changed any glossary terms in the `GlossaryTableSeeder`, make sure you run the commands below:

`lando artisan db:seed --class="GlossaryTableSeeder"` - Please make sure you're only seeding the class _GlossaryTableSeeder_ and not everything, or else someone will run towards you with a stick to beat you with it...

`lando artisan importApi:generateTerms` - This will go through every property & epigraph and update all terms again with the terms from the _GlossaryTableSeeder_

## Production Deploy

1. Login into the Cloudways account using the credentials on 1password

2. Access application Lisboa Romana BE

3. Check if your user already exists on SSH (if not add it)

4. Connect with SSH and use your Bitbucket credentials for git commands

5. Do the necessary steps to deploy laravel. Usually it includes migration and cache clean.
