forked from pkp/ojs
-
Notifications
You must be signed in to change notification settings - Fork 4
Setting up for local development
barbarahui edited this page Apr 18, 2012
·
1 revision
##Install php and mysql on your machine if you haven't already
##Install git if you haven't already
Follow the directions for your OS as described at http://help.github.com/mac-set-up-git/
On your local machine, cd into your htdocs directory or equivalent. Then execute:
git clone [email protected]:cdlib/eschol-ojs.git
cd into your new git repo:
cd eschol-ojs
Add the following to the .git/config file:
[submodule "lib/pkp"]
url = [email protected]:cdlib/eschol-pkp-lib.git
Then execute:
git submodule init
git submodule update
Put a copy of config.inc.php.dev in the eschol-ojs/ directory. (Our config.inc.php.* files are naturally kept in a super-secret location for security reasons).
Then create a sym link:
ln -s config.inc.php.dev config.inc.php
cd eschol-ojs/
chmod a+w public
chmod a+w cache
chmod a+w cache/*
Browse to and make sure the page comes up and you can login: http://localhost/eschol-ojs/index.php/index/login?subi=no
Done.