Skip to content

Commit

Permalink
some adjustments after testing bootstrap process on a fresh machine
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGermuska committed Nov 2, 2011
1 parent eb5cff3 commit 328c63f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
15 changes: 9 additions & 6 deletions README.rst
Expand Up @@ -42,8 +42,8 @@ This will setup the complete application, *except* for Solr::

This part is tricky and will vary quite a bit depending on your operating system. The following instructions will get you up and running on OSX Lion, using `Homebrew <https://github.com/mxcl/homebrew>`_::

# In early development of PANDA, Brew installed an older version of Solr. Verify that you have the right version.
#
brew info solr

# If the first line reads solr 3.4.0, you are fine. If not, update brew and check again.
Expand All @@ -63,7 +63,10 @@ To run the unit tests ensure that runserver and celeryd are **not** running then
# Ensure you are in the PANDA source directory and your virtualenv is active
fab local_solr

# Open another terminal
# Quite a bit of output will be printed to the screen.
# Wait until you see something like
# 2011-11-02 14:15:54.061:INFO::Started SocketConnector@0.0.0.0:8983
# Then, open another terminal and change to your PANDA source directory.
workon panda
python manage.py test redd

Expand All @@ -80,16 +83,16 @@ Your new PANDA server should now be serving on port 80. (Ensure port 80 is open
AUTHORS
-------

Lead Developer:

* Christopher Groskopf

The PANDA board:

* Brian Boyer
* Joe Germuska
* Ryan Pitts

Lead Developer:

* Christopher Groskopf

Contributors:

* Your name here
Expand Down
5 changes: 4 additions & 1 deletion fabfile.py
Expand Up @@ -203,7 +203,10 @@ def local_reset_solr():
"""
Reset the local solr configuration.
"""
local('mkdir -p /var/solr')
local('sudo mkdir -p %(local_solr_home)s' % env)
local('sudo chmod 777 %(local_solr_home)s' % env)
local('sudo mkdir -p /var/log/panda')
local('sudo chmod 777 /var/log/panda')

local('cp setup_panda/solr.xml %(local_solr_home)s/solr.xml' % env)

Expand Down

0 comments on commit 328c63f

Please sign in to comment.