Skip to content

Commit

Permalink
[master][noticket][doc]: Rearrange order to avoid warnings on paster …
Browse files Browse the repository at this point in the history
…db init.
  • Loading branch information
David Read committed Feb 23, 2012
1 parent ff90b3f commit 34c53f7
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions doc/install-from-source.rst
Expand Up @@ -191,7 +191,7 @@ Install the Source
paster make-config ckan development.ini

If you used a different database name or password when creating the database
in step 5 you'll need to now edit ``development.ini`` and change the
in step 6 you'll need to now edit ``development.ini`` and change the
``sqlalchemy.url`` line, filling in the database name, user and password you used.

::
Expand All @@ -214,7 +214,18 @@ Install the Source
We are moving to a new deployment system where this incompatibility
will be fixed.
8. Create database tables.
8. Setup Solr.

Set up Solr following the instructions on :ref:`solr-single` or :ref:`solr-multi-core` depending on your needs.

Set appropriate values for the ``ckan.site_id`` and ``solr_url`` config variables in your CKAN config file:

::

ckan.site_id=my_ckan_instance
solr_url=http://127.0.0.1:8983/solr

9. Create database tables.

Now that you have a configuration file that has the correct settings for
your database, you'll need to create the tables. Make sure you are still in an
Expand All @@ -236,7 +247,7 @@ Install the Source
If the command prompts for a password it is likely you haven't set up the
database configuration correctly in step 6.

9. Create the cache directory.
10. Create the cache directory.

You need to create the Pylon's cache directory specified by 'cache_dir'
in the config file.
Expand All @@ -247,20 +258,6 @@ Install the Source

mkdir data


10. Setup Solr.

Set up Solr following the instructions on :ref:`solr-single` or :ref:`solr-multi-core` depending on your needs.

Set appropriate values for the ``ckan.site_id`` and ``solr_url`` config variables in your CKAN config file:

::

ckan.site_id=my_ckan_instance
solr_url=http://127.0.0.1:8983/solr



11. Run the CKAN webserver.

NB If you've started a new shell, you'll have to activate the environment
Expand Down

0 comments on commit 34c53f7

Please sign in to comment.