Jump to content

Mutiple instances of PW in Bitnami


Manol
 Share

Recommended Posts

To install a fresh pw site I use a bitnami server that way:

wget https://bitnami.com/redirect/to/100724/bitnami-processwire-2.7.2-1-module-linux-x64-installer.run
chmod a+x bitnami-wordpress-4.5-1-module-linux-x64-installer.run
sudo ./bitnami-wordpress-4.5-1-module-linux-x64-installer.run

It installs pw under /opt/bitnami/apps/processwire.

Is there an easy way to install multiple instances of pw in different folders?

Link to comment
Share on other sites

I use this script:

#!/bin/bash
#wget https://codeload.github.com/ryancramerdesign/ProcessWire/zip/master
wget https://codeload.github.com/ryancramerdesign/ProcessWire/zip/dev
mv dev dev.zip
unzip dev.zip
mv ProcessWire-dev $1

I saved it as getpw.sh. When you call it with a parameter like 

./getpw.sh mydomain.tl

the processwire files will be fetched and installed under the directory which has the name of the first parameter (mydomain.tl)

dev gets the dev-part of processwire and master the stable part of processwire.

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...