-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
40 lines (21 loc) · 985 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Installation is easy:
First, install composer:
https://getcomposer.org/doc/00-intro.md
Windows installation instructions are here:
https://getcomposer.org/doc/00-intro.md#installation-windows
Then pull down the libraries used on the project:
php composer.phar install
OR
composer install
This will download/install a lot of parts for silex & phpunit to work.
Now, copy over /config.template.php to config.php:
cp config.template.php config.php
And edit the contents of config.php to match your specific application.
Now just run the tests to make sure that you've got stuff working!
vendor/bin/phpunit tests
Want to check out the web stuff in the easiest way possible?
1. From the command line, run the php builtin webserver to serve the site:
php -S localhost:9999 -t www/
2. Browse to the hello world url of the site
http://localhost:9999/hello/world
And you should get a page with just "hello world" in it. Done, you've got the basics!