Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (31 sloc) 1.829 kb
4ea66bb @mathiasbynens Initial commit.
authored
1 # jsPerf.com source code
2
edbe060 @janmoesen README.md, index.php: support Lighttpd
janmoesen authored
3 [jsPerf.com](http://jsperf.com/) runs on a server with Apache or Lighttpd,
4 MySQL and PHP installed.
4ea66bb @mathiasbynens Initial commit.
authored
5
6 ## How to run a local copy of jsPerf for testing/debugging
7
8 1. Download the source code, as located within this repository.
0a0a3c6 @mathiasbynens Clarify installation instruction in the README. Closes #52.
authored
9 2. The code expects things to be hosted at `/` and not a subdirectory. You might
10 want to create a new virtual host, e.g. `dev.jsperf.com`.
b5bdf91 @mikesherov change instructions as well
mikesherov authored
11 3. Use `_tmp/database.sql` to create the jsPerf tables in a database of choice.
0a0a3c6 @mathiasbynens Clarify installation instruction in the README. Closes #52.
authored
12 4. Rename `_inc/config.sample.php` to `_inc/config.php` and enter your database
edbe060 @janmoesen README.md, index.php: support Lighttpd
janmoesen authored
13 credentials and other info.
0a0a3c6 @mathiasbynens Clarify installation instruction in the README. Closes #52.
authored
14 5. For the Browserscope integration to work, you’ll need a Browserscope API key.
15 To get one, sign in at [Browserscope.org](http://www.browserscope.org/) and
16 then browse to [the settings page](http://www.browserscope.org/user/settings).
17 6. If you are using Apache, edit `.htaccess` (especially the first few lines)
edbe060 @janmoesen README.md, index.php: support Lighttpd
janmoesen authored
18 so it matches your current setup. If you are using Lighttpd, set up the
19 `dev.jsperf.com` virtual host using the sample in `_inc/lighttpd.conf`.
42d0d05 @mathiasbynens README: Explain which files should be writable for the build script t…
authored
20 7. If you plan on using the update script for Benchmark.js/Platform.js
21 (`_tmp/build.php`), you’ll need to make some files writable.
22
23 ```bash
24 chmod 666 _js/benchmark.js _js/benchmark.src.js _js/platform.src.js\
25 _js/ui.browserscope.src.js _js/ui.src.js _inc/version.txt
26 ```
4ea66bb @mathiasbynens Initial commit.
authored
27
28 ## License
29
edbe060 @janmoesen README.md, index.php: support Lighttpd
janmoesen authored
30 The source code for [jsPerf](http://jsperf.com/) is copyright
31 © [Mathias Bynens](http://mathiasbynens.be/) and dual-licensed under the MIT
32 and GPL licenses.
4ea66bb @mathiasbynens Initial commit.
authored
33
edbe060 @janmoesen README.md, index.php: support Lighttpd
janmoesen authored
34 You don’t have to do anything special to choose one license or the other and
35 you don’t have to notify anyone which license you are using. You are free to
36 re-use parts of this code in commercial projects as long as the copyright
37 header (as mentioned in `GPL-LICENSE.txt` and `MIT-LICENSE.txt`) is left
0a0a3c6 @mathiasbynens Clarify installation instruction in the README. Closes #52.
authored
38 intact.
Something went wrong with that request. Please try again.