Skip to content
Pavel Linkesch edited this page Aug 3, 2015 · 6 revisions

Requirements

  • PHP 5.3.3 and later
  • SQLite3 (or any other database supported by Doctrine DBAL - MySQL, PostgreSQL, Microsoft SQL Server, Oracle and more...)

Via Composer

The recommended way to start with Marvin is via Composer:

  1. Install Composer
  2. Create in your project folder file composer.json with this content:
{
  "require": {
    "marvin/marvin": "~0.1"
  },
  "scripts": {
    "post-package-install": "Marvin\\Marvin\\Install::postPackageInstall"
  }
}
  1. Run composer install command. This will install Marvin core files and necessary Pages and Users plugins.
  2. Go to folder web/ which was automatically created (cd web)
  3. Run npm install command
  4. Run grunt install command

That's it. Now you can visit your new website powered by Marvin in a browser. You will see, that it will automatically run final installation steps and you are ready to go.

Via an Archive

The best way to download and install Marvin is via Composer (see above), but if you're not comfortable with it, you can start by downloading an archive with everything included: Download Marvin 0.1.2 as ZIP.

Configuring a Web Server

Configure virtual host in Apache:

<VirtualHost *:80>
    ServerName domain.tld
    ServerAlias www.domain.tld

    DocumentRoot /var/www/project/web
    <Directory /var/www/project/web>
        AllowOverride All
        Order Allow,Deny
        Allow from All
    </Directory>
</VirtualHost>

If you use Nginx, or want to see more options also for Apache, go to Symfony docs - Configuring a Web Server.

-- « Home | Folder Structure »

Clone this wiki locally