The PHP deployment tool with support for Dojo scripts out of the box. Forked from deployer/deployer
- Automatic server provisioning.
- Zero downtime deployments.
- Ready to use recipes for most scripts.
- Clone this repo
php -d phar.readonly=0 bin/build -v7.4.2-fix
mv deployer.phar blacksmith
What you need:
- Ubuntu 20.04 created with any VPS provider (DigitalOcean, Vultr, Contabo, etc)
- Domain name (optional) with Registrar (for DNS Management)
- Github/bitbucket/gitlab account
- Blacksmith (download from podobejo.com/blacksmith)
- Create a repository for your source code (github, bitbucket etc).
- Add your source code to repository
- Commit and push
- Put blacksmith in your local repository
- [Optional] If using domain / subdomain, add A record point it to server's IP address. If using IP address, you may skip this step.
- Run
php blacksmith init && php blacksmith dojo:provision
, you can put domain name or IP as host. This will install PHP, MySQL, Caddy, etc in your server
- Run
php blacksmith deploy