Source: levelup.gitconnected.com

Modern PHP (Part 2)

Category: PHP, PHP, MySQL, MySQL, api, api, git, git

But if the client doesn’t already have an Internet-facing website and part of your project is to make one, this article is for you.

My previous article showed how to make a form backed by a database, and if you can make one form, you can make a dozen.

If you need to get a domain name make sure that you get one that will allow you to set Cloudflare as your primary and secondary DNS and are comfortable with fiddling with DNS records.

You will need to find out the external IP address of your new VM so you can add it to Cloudflare.

So we will have to add a single line to the .gitignore file: Next, we will create the data directory and give it full permissions so that we can access it from inside docker as a mounted volume: Finally, we can mount it in our docker-compose.yml file: As an alternative, you could also let Docker create a volume and assign that, but this way seems easier.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners