Technical Requirements
- PHP 8.0
- PDO-SQLite PHP extension enabled;
- Git
- Composer
- Symfony CLI
- and the usual Symfony application requirements.
$ git clone https://github.com/ybjozee/Inky_Demo.git
$ cd Inky_Demo
$ composer install
Make a local version of the .env
file
$ cp .env .env.local
Update the relevant Twilio keys in .env.local
MAILER_DSN=sendgrid+api://<INSERT_YOUR_SENDGRID_KEY>@default
SENDER_EMAIL=YOUR_SENDGRID_SENDER_EMAIL
SENDER_NAME='YOUR_SENDGRID_SENDER_NAME'
If you're using SQLite as your doctrine transport, create the database.
$ touch var/data.db
Set up your transport
$ symfony console messenger:setup-transports
Consume messages to the async
transport
$ symfony console messenger:consume async -vv
In another terminal, run your application
$ symfony serve