impresspages / ImpressPages

ImpressPages is php framework with admin panel. Build functional website in one hour.
http://www.impresspages.org
Other
502 stars 175 forks source link

ImpressPages core

This repository is used as a library for the main https://github.com/impresspages/ImpressPages respository. Here are stored the most fundamental features of ImpressPages. In long run, this repository should become into a self sustainable ImpressPages-framework without CMS.

Installation

If you want to use the latest version from github, please follow these steps to get everything up and running.

  1. Create a file called composer.json and put the following content in it:
{
    "require": {
        "impresspages/impresspages": "5.0.*",
        "impresspages/plugin-google-analytics": "*"
    },
    "scripts": {
        "post-install-cmd": ["php vendor/impresspages/impresspages/bin/setup.php public"],
        "post-update-cmd": ["php vendor/impresspages/impresspages/bin/setup.php public"]
    },
    "autoload": {
        "psr-4": {"Plugin\\": "public/Plugin/"}
    }
}
  1. Install all composer dependencies by running composer install

  2. Start a webserver to serve the public directory. You can also use the built-in PHP webserver, switch into the public directory cd public and start the webserver using this command: php -S localhost:8000 index.php

  3. Open your webserver and navigate to whatever address you are using, for example http://localhost:8000.

  4. Follow the setup wizard.