Installing Nano CMS in Five Minutes
Nano CMS ships as two zips - a permanent frontend and a portable admin - and installs without a database or a build step.
The five steps
- Upload the frontend zip to
/blog/in your site's webroot. - Create the config by opening
/blog/install.phpin your browser. It makes a config folder outside the webroot and writesbootstrap.phpfor you. (Prefer to do it by hand? Copybootstrap.example.phptobootstrap.phpand set the two paths.) - Upload the admin zip to
/blog/admin/. - Run the setup wizard at
/blog/admin/setup.php. Set your password; it writesconfig.jsonand hands you to the dashboard. - Delete
install.phpwhen the dashboard offers to - it has done its job.
Why config lives outside the webroot
config.json holds your password hash and licence key, and rate-limit.json tracks failed logins. Keeping them above the webroot means they can never be downloaded over HTTP, even if PHP stops running.
With that done, you're ready to publish your first post.