Well hallo there! Let's get this project setup!
-
Download Composer into this directory
-
Use Composer to download our dependencies. Run this from the command line:
php composer.phar install --dev
- Start up a web server. You can point an Apache VirtualHost at the
web/
directory of the project OR (easier), use the built-in PHP web server (PHP 5.4 and higher):
cd web/
php -S localhost:9000
- The project uses an SQLite database. Make sure you have the
php-sqlite
extension installed. Now, make sure thedata
is writeable:
mkdir -p data
sudo chmod -R 777 data
This will just sit there - open up another terminal to keep working on other things.
- Find the site. Go to
http://localhost:9000
, or whatever you configured. Load some dummy data by clicking the "Reset DB" link.