-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Pavel Linkesch edited this page Aug 3, 2015
·
6 revisions
- PHP 5.3.3 and later
- SQLite3 (or any other database supported by Doctrine DBAL - MySQL, PostgreSQL, Microsoft SQL Server, Oracle and more...)
The recommended way to start with Marvin is via Composer:
- Install Composer
- Create in your project folder file composer.json with this content:
{
"require": {
"marvin/marvin": "~0.1"
},
"scripts": {
"post-package-install": "Marvin\\Marvin\\Install::postPackageInstall"
}
}
- Run
composer install
command. This will install Marvin core files and necessary Pages and Users plugins. - Go to folder web/ which was automatically created (
cd web
) - Run
npm install
command - 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.
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.
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 »