Confirmed users
933
edits
| No edit summary |  (add ImageMagick and some other details) | ||
| Line 1: | Line 1: | ||
| Requirements | == Requirements == | ||
| * basic LAMP stack with gettext support | |||
| * MySQL Database | |||
| * ImageMagick - to resize uploaded images | |||
| == Procedure == | |||
| # Checkout http://svn.mozilla.org/projects/getpersonas.com/trunk/ from svn | # Checkout http://svn.mozilla.org/projects/getpersonas.com/trunk/ from svn | ||
| # Create a database for personas | # Create a database for personas | ||
| ## Cleaned db dump here: http://people.mozilla.org/~rdoherty/personasdump.sql.zip | ## Cleaned db dump here: http://people.mozilla.org/~rdoherty/personasdump.sql.zip | ||
| # Copy server/lib/personas_constants.php.dist to server/lib/personas_constants.php | # Copy <code>server/lib/personas_constants.php.dist</code> to <code>server/lib/personas_constants.php</code> | ||
| # Edit server/lib/personas_constants.php with | # Edit <code>server/lib/personas_constants.php</code> with | ||
| ## database username, password and name | ## database username, password and name - for slave and master | ||
| ## PERSONAS_BASE_URL should be the url to access your dev install | ## PERSONAS_BASE_URL should be the url to access your dev install | ||
| ## PERSONAS_CDN_HOST should be http://PERSONAS_BASE_URL | ## PERSONAS_CDN_HOST should be http://PERSONAS_BASE_URL | ||
| # Copy server/localhttpd-dist.conf to the apache conf for your dev install (probably best to create a vhost) | # Copy <code>server/localhttpd-dist.conf</code> to the apache conf for your dev install (probably best to create a vhost) | ||
| # Change '/path/to/personas/' in the text you just copied to the full path to where you checked out the svn repository. | # Change '/path/to/personas/' in the text you just copied to the full path to where you checked out the svn repository. | ||
| # Restart apache | # Restart apache | ||
| # Profit! | # Profit! | ||