Copy contents of .env.example into a new file called .env
For APP_NAME, give it the name of your client
For APP_KEY, generate a new key locally using php artisan key:generate from the root of the project and add it here.
Add your database details to the DB_ section of the file.
Add mail details to the MAIL_ section of the file. Please note that these are transactional emails for tasks such as forgotten password. So they should not be the same as your Sparkpost details for sending out newsletters.
For ELASTICSEARCH_INDEX, use the same name as the APP_NAME but hyphenated and lowercase.
Add webhook to the repo in Github and select ‘Automatic Deployment’ in Plesk.
Click on ‘Pull Updates’ – this should pull updates if any, install a fresh database and additional composer PHP packages. If you don’t see a vendor directory in the root of the project after this, there is a problem somewhere – likely with the PHP versions.
Make sure the path matches that of your project. Under ‘Run’, select cron style and add the following so that it runs every minute:
* * * * *
You can push ‘Run Now’ to test it – if it doesn’t return an error, push ‘OK’ to save it.
Visit your project in the browser and register. By default, the first user becomes the super admin who does not need to be activated to start using the system. Any subsequent users who register will need approval from an admin.
In Sparkpost, add and verify the sending domain, tracking domain, bounce domain and verify them using the auto-generated keys.
Install the provided provided documentation SQL file. Ensure you have searched and replaced 'https://NEWSLETTER.YOUR-PROJECT.COM' with the actual URL of your newsletter project.