Jump to content

Clean install


neotoxic
 Share

Recommended Posts

I would like to suggest having a clean install option.

I appreciate that a basic pre-installed site is a great way to understand how ProcessWire works, but when setting up a new projects from the latest build, removing that default sites pages, template associations, fields, template files and assets etc a pain.

I have read about custom install profiles, but the options to start from a clean slate would almost always be useful.

Is there a way to do this easily currently?

Link to comment
Share on other sites

We will plan to put together a blank(er) install profile with 2.1. Technically, there isn't really such thing as a completely blank installation because so much of ProcessWire itself is built in it's own framework. It's admin, user, role and permission system is built on a structure of pages, as are it's required homepage and 404 page (these are non-removable system pages). There are also several fields and templates built-in that it requires (called system fields and templates). Though the main ones you'll see are the 'title' field and the 'admin' template – PW hides the others unless you use the filters in the Setup > Fields/Templates part of the admin.

A blank install profile would be like the current install profile, but with just 1 non-system template (like page.php), homepage, 404 page and admin page structure, and no body, sidebar or images fields. We'd make the default included template just be a blank HTML5 skeleton page, maybe linking to a blank stylesheet.

I guess that the current install profile is kind of built around my own needs because nearly every site I build has at least the included fields and templates, so for me it's a much quicker starting point than a blank profile. But a blank profile has been requested a few times, so clearly there's a need for it and we'll make it happen. :)

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...

Robert–this has been updated in the latest fresh install of PW 2.1. The IDs now start at 1000, though 1000-1005 are used by  the default site profile, so technically they start at 1006 unless you reuse the default site profile pages.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...