Skip to content

Commit

Permalink
improving the installation steps
Browse files Browse the repository at this point in the history
  • Loading branch information
gautiermichelin committed Feb 22, 2023
1 parent eeea8f9 commit d354c79
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,36 @@ Simple setup.exe auto install for Windows, requiring MAMP to be installed first

This project is maintained by <a href="https://www.ideesculture.com">IdéesCulture</a>. We do provide services on CollectiveAccess mostly in french speaking areas or institutions ; for services in USA, Canada and american country, please contact Whirl-i-Gig. For every other demands, please check collectiveaccess.org first.

## Prerequisites
## How to use the installer

### Summary

Summary in a 3 step procedure :
1. Install MAMP
2. Disable PHP 8 in MAMP
3. Launch the installer

### 1. Install MAMP

Download and install MAMP from https://www.mamp.info/en/downloads/

### 2. Disable PHP 8 in MAMP

Open the folder c:\MAMP\bin\PHP and rename :
- php8.0.1 to _php8.0.1 (to disable it)
- php8.1.0 to _php8.1.0 (to disable it)

![Disable PHP 8](mamp_disable_php8.png)

### 3. Launch the CollectiveAccessMAMP_setup.exe

![launch setup](setup.png)

----

## Developer notes
### Developer prerequisites
Prerequisites

- Install Inno Setup : https://jrsoftware.org/isinfo.php

Expand Down Expand Up @@ -32,10 +61,12 @@ After THAT QUIT AND RESTART MAMP

There seems no way to rename directly MAMP php folders to enable PHP 7.4, still searching.

Thinking to deploy a test php file that does not redirect to install if PHP is in v8, but instead showing screen captures on how to enable PHP 7.4 in MAMP. Just in case...

## What could be done

- A pawtucket install should be done, with symlinks for medias
- the default php conf for MAMP could be edited : rising up max execution time etc.
- the default php conf for MAMP could be edited : rising up max execution time etc. Still searching on how to edit files inside other programs.

## Why this project / disclaimer

Expand Down
Binary file added mamp_disable_php8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added unins000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d354c79

Please sign in to comment.