Running PartKeepr from GIT

From PartKeepr Wiki
Revision as of 15:44, 12 December 2015 by Felicitus (talk | contribs) (Created page with "You can run PartKeepr from the GIT repository. = Requirements = * PHP 5.6 or 7.0 * [https://getcomposer.org/download/ composer] = Initial setup = <pre> git clone https://g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can run PartKeepr from the GIT repository.

Requirements

Initial setup

git clone https://github.com/partkeepr/PartKeepr.git        # clones PartKeepr in the PartKeepr subdirectory.
cd PartKeepr
cp app/config/parameters.php.dist app/config/parameters.php # copies the default parameters to ensure composer can run.
composer install                                            # Installs all PartKeepr requirements

Now open the setup by opening web/setup and run it.

Updating

git pull                                                    # Updates PartKeepr to the latest GIT version
cp app/config/parameters.php app/config/parameters.old.php  # Make a backup of the old parameters.php file
cp app/config/parameters.php.dist app/config/parameters.php # Use the parameters.php.dist file to ensure all settings are present
rm -rf app/cache/*                                          # Ensures all cached configurations are cleared
composer install                                            # Installs latest packages
cp app/config/parameters.old.php app/config/parameters.php  # Restores the parameters.php backup

Now re-run setup.