Downloads:

2,145

Downloads of v 5.3.6:

519

Last Update:

3/18/2018

Package Maintainer(s):

Software Author(s):

  • Corvideon

Tags:

admin instantwp instantwordpress development wordpress portable

Instant WordPress

5.3.6 | Updated: 3/18/2018

Downloads:

2,145

Downloads of v 5.3.6:

519

Maintainer(s):

Software Author(s):

  • Corvideon

Instant WordPress 5.3.6

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Instant WordPress, run the following command from the command line or from PowerShell:

>

To upgrade Instant WordPress, run the following command from the command line or from PowerShell:

>

To uninstall Instant WordPress, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade instantwordpress -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade instantwordpress -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure instantwordpress installed
  win_chocolatey:
    name: instantwordpress
    state: present
    version: 5.3.6
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'instantwordpress' do
  action    :install
  version  '5.3.6'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: instantwordpress,
    Version: 5.3.6,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller instantwordpress
{
   Name     = 'instantwordpress'
   Ensure   = 'Present'
   Version  = '5.3.6'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'instantwordpress':
  provider => 'chocolatey',
  ensure   => '5.3.6',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install instantwordpress version="5.3.6" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 9/5/2019.

Description

Instant WordPress turns any Windows machine into a WordPress development server. It will even run from a USB stick.
It comes complete with it’s own built in Apache web server, PHP and MySQL installations that are started and stopped automatically.
Instant WordPress has a set of dummy WordPress posts and pages so that you do not have to create any data or posts to test themes and plugins.
It is self-configuring, so it should not conflict with any software already running on your machine.
Instant WordPress can be installed as many times as you wish and deleted by simply removing the folder that it is running from. Nothing is left on your machine.
Please Note: Instant WordPress is not suitable for live websites and should only be used for testing and development.


tools\chocolateyInstall.ps1
$packageName         = 'instantwordpress' # nuget package ID
$url                 = 'https://github.com/corvideon/InstantWP/releases/download/v5.3.6/IWP-v5.3.6-Win.zip' # download url
$shortcutLocation    = 'Chocolatey'
$shortcutName        = 'Instant WordPress.lnk'
$shortcutDescription = 'Standalone, portable WordPress development environment'

$appBase             = Split-Path -Parent `
                                  -Path (Split-Path -Parent $MyInvocation.MyCommand.Definition)
$installlocation     = Join-Path -Path $appBase -ChildPath 'App'
$toolslocation       = Join-Path -Path $appBase -ChildPath 'tools'

$shortcutRegistry    = Join-Path -Path $appBase -ChildPath 'shortcuts.txt'

Install-ChocolateyZipPackage -packageName   $packageName `
                             -Url           $url `
                             -UnzipLocation $installlocation `
                             -Checksum      '1E11D51AAD5F11930F0BB42CDDA718D672B64A9B050C953519A9C5B821B20CC2' `
                             -ChecksumType  'sha256'
                             
# create .gui and .ignore files as appropriate
Get-ChildItem -Name $installlocation -include '*.bat','*.exe' -Recurse `
| ForEach-Object {
    [System.IO.FileInfo]$exe = Join-Path -Path $installlocation -ChildPath $_
    if ($exe.BaseName -eq 'Start-InstantWP')
    {
      echo '' >"$($exe.FullName).gui"

      ## install a shortcut to the start menu to make this app discoverable
      [string]$shortcutFolder = Join-Path -Path "$($env:APPDATA)\Microsoft\Windows\Start Menu\Programs" `
                                          -ChildPath $shortcutLocation
      [string]$shortcut       = Join-Path -Path $shortcutFolder `
                                          -ChildPath $shortcutName
      # register shortcut for removal on uninstall
      Out-File -InputObject $shortcut `
               -Append `
               -FilePath $shortcutRegistry
      if (![System.IO.Directory]::Exists( $shortcutFolder))
      {
        [System.IO.Directory]::CreateDirectory($shortcutFolder) >$null
      }
      Install-ChocolateyShortcut -ShortcutFilePath $shortcut `
                                 -Targetpath $exe.FullName `
                                 -WorkingDirectory $exe.DirectoryName `
                                 -Description $shortcutDescription `
                                 -IconLocation (Join-Path -Path $toolslocation IWP.ico)
    }
    else
    {
      # ignore this executable
      echo '' >"$($exe.FullName).ignore"
    }
  }
tools\chocolateyUninstall.ps1
$appBase          = Split-Path -Parent `
                               -Path (Split-Path -Parent $MyInvocation.MyCommand.Definition)
$installlocation  = Join-Path -Path $appBase -ChildPath 'App'
$shortcutRegistry = Join-Path -Path $appBase -ChildPath 'shortcuts.txt'

Get-Content -LiteralPath $shortcutRegistry -ErrorAction:SilentlyContinue `
| Where-Object { -not [string]::IsNullOrEmpty($_) } `
| ForEach-Object {
    Write-Host "Removing Shortcut: $_"
    Remove-Item -LiteralPath $_ -ErrorAction:SilentlyContinue
  }
  
Write-Host "Cleaning up $appBase ..."
Remove-Item -Force `
            -Recurse `
            -Exclude '*.nupkg','*install.ps1' `
            -LiteralPath $appBase
tools\IWP.ico
 

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Instant WordPress 5.3.5 224 Friday, December 15, 2017 Approved
Instant WordPress 5.3.3 208 Sunday, November 19, 2017 Approved
Instant WordPress 5.3.0 189 Friday, October 27, 2017 Approved
Instant WordPress 4.5.0 691 Monday, August 24, 2015 Approved
Instant WordPress 4.4.2 314 Thursday, March 26, 2015 Approved

  • WordPress Version 4.7.1
  • PHP 7.0.14
  • MySQL – 10.1.20-MariaDB MariaDB Server
  • Apache/2.4.23 (Unix)
  • PHPMyAdmin Version 4.6.5.2
  • PHP Composer and WP-CLI also installed

This package has no dependencies.

Discussion for the Instant WordPress Package

Ground Rules:

  • This discussion is only about Instant WordPress and the Instant WordPress package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Instant WordPress, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus