Jump to content

Is it possible to automate the installation process? (Installation via the command line)


Recommended Posts

Posted

Is it possible to automate the installation process of PW? With WordPress and thanks to [wp-cli](https://wp-cli.org/) I can automate the installation and configuration of my installation with a simple bash-script. Is something like that possible with ProcessWire, too? In other words: Is there a way to install PW purely through commands on the command line without having to go through the installation wizard first? Thanks in advance!

P.S.: I know of wireshell, but this doesn't seem to have any documentation on my use case or similar functionality as wp-cli (e. g. [wp core install](https://developer.wordpress.org/cli/commands/core/install/), [wp db create](https://developer.wordpress.org/cli/commands/core/install/)).

  • Like 1
Posted

Hey @openmedi. Welcome to the support forum!

I'd start by looking into the WireShell "new" command, which is documented. Haven't used this myself, but it seems like it should do exactly what you need.

  • Like 4
Posted

@teppo Thanks for pointing that out! This is probably exactly what I was looking for!

I guess I got confused by the background colors.

1518895199_ScreenShot2018-07-11at13_29_59.png.8e2e75cbca4619c13f3fe0eb8e6849e0.png

2007699900_ScreenShot2018-07-11at13_30_16.thumb.png.4122716d9653cb24f94415e4801e428b.png

I guess that's because this is supposed to be a display of hierarchy, which was not immediately apparent to me, instead I assumed there were only three commands available to me.

  • Like 1
  • 9 months later...
  • 1 year later...

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
  • Recently Browsing   0 members

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