- Git
- cURL (or wget - instructions use curl)
- Apache
- MySQL
- Php 5.3.8 or higher (with pear, mysql, xml and mbstring extensions) --Php config note-- You MUST set in the php.ini or the application will not run, e.g.: date.timezone = America/Los_Angeles You should also disable the short open tags, which can conflict with XML short_open_tag = off
For Debian/Ubuntu:
apt-get install git curl apache2 mysql-server php5 php5-curl php5-mysql php-pear libapache2-mod-php5
-
Verify that you have set the date.timezone in the php.ini
-
Clone the repository
git clone git://github.com/scenarioed/scenarioed.git
-
Change directory into the scenarioed folder
cd scenarioed
-
Get composer:
curl -sS https://getcomposer.org/installer | php
-
Install ScenarioEd. It takes a bit until you start to see output from Composer, so sit tight.
php composer.phar install
-
Set up the example project:
cd web/example php ../../composer.phar install cp ScenarioedFormatter.php vendor/behat/behat/src/Behat/Behat/Formatter/ScenarioedFormatter.php cd ../..
-
Create database
mysql -u root -p create database scenarioed; grant all on scenarioed.* to scenarioed@localhost;
-
If you wish to use a different database name or user name, edit app/config/parameters.yml and set the values accordingly.
-
Load the database schema
php app/console doctrine:schema:create
-
Ensure the web server has write privileges where needed. Replace www-data with the user which runs the webserver.
chown -R www-data app/logs app/cache web/projects
-
Configure Apache to point at the scenarioed/web folder
-
Load your site in a browser, create an account, and log in.