At the beginning you have probably been using the App URL as your domain. You can also add any number of domains to your App. Please see our domain article for more.
MySQL access will be configured via ENV vars as well. Copy/paste this additional setup into the environment variables form in the fortrabbit Dashboard:
It maps the keys Statamic is expecting to dynamic ENV vars provided by fortrabbit.
Statamic - like other CMS's - has a control panel. That dashboard enables you - or maybe the client/editor - to create and edit the contents easily in the browser. You can create different users (admins) for the control panel.
For this, please consider how you are dealing with the content created:
- You should really not use the control panel on the App if you have all content stored in Git: you should only change things locally.
- When using rsync (or SFTP) you can sync changes you have made on the App directly back down or the other way around.
- When using MySQL as a data store, you might want to dump the production database and bring it back locally from time to time
We recommend to always develop locally first — it's just the most convenient way. Deploy when you have reached a certain state of development. In many cases the "real" content will be created on the fortrabbit App. You can easily sync down changes from production into development with rsync or sftp unless you have the content in MySQL.
Some fortrabbit App plans have backups enabled. You can also spin your own solution. With Git you can already easily roll back changes.
We recommend updating your local development environment first. On your local computer execute
composer update in the terminal at the root level of your project folder to trigger the update. When you have confirmed that everything works,
git push to bring the latest updates to your fortrabbit App.
fortrabbit does not support
sendmail, so sending e-mails out of the box might not work. Statamic provides config for transactional mail providers, or you can use a plugin to send e-mail over your own SMTP account.
Remember that Statamic is free for personal use. For a client project, get a license, support the authors!