Sculpin code for my personal blog.
Powered by Sculpin.
Inspired by Sculpin blog skeleton code.
Needs to have PHP >= 7.3 installed locally on your machine.
When --env=prod is specified, the site will be generated in output_prod/. This
is the location of your production build.
sculpin generate --env=prodThese files are suitable to be transferred directly to a production host. For example:
sculpin generate --env=prodrsync -avze 'ssh -p 999' output_prod/ user@yoursculpinsite.com:public_html
If you want to make sure that rsync deletes files that you deleted locally on the on the remote too, add the --delete option to the rsync command:
rsync -avze 'ssh -p 999' --delete output_prod/ user@yoursculpinsite.com:public_htmlI use Symfony CLI tool to run a standalone PHP server.
To start server:
./bin/run_dev.shBlog will be accesible at the following URL: https://127.0.0.1:8000