[ckan-dev] Demo theme test server
Sean Hammond
sean.hammond at okfn.org
Fri May 25 16:22:03 UTC 2012
I'd like to close this ticket on trac (#2386 Setup
feature-2375-demo-theme test server) and save a snapshot of this VM so
we can quickly boot new VMs on s031 to test/demo different branches. Can
anyone answer either of these questions?
What gs key should I use for the storage config? (Same one as
demo.ckan.org uses?)
What sharethis key should I use for the social config? (Same as
demo.ckan.org?)
I've created trac tickets to fix ckanext-spatial and ckanext-qa.
I haven't setup datastorer on it yet. I'm gonna leave it without that
unless there is some demand.
On Wed, May 16, 2012 at 04:07:40PM +0200, Sean Hammond wrote:
> I've begun setting up a VM on s031 running the feature-2375-demo-theme branch:
>
> http://s031.okserver.org:2375/
>
> It's an Ubuntu 10.04 VM containing a CKAN source install deployed with
> Apache (on the VM) and with the feature-2375-demo-theme branch checked
> out.
>
> I've enabled these plugins:
>
> ckan.plugins = stats synchronous_search disqus social demo qa
>
> ckanext-spatial is installed into the virtualenv but not enabled yet because
> it has been broken by recent model changes on master.
>
> I haven't tried to install datastorer, perhaps someone could give me
> some help with that.
>
> Questions
> ---------
>
> Shall I use the same gs key for storage as demo.ckan.org uses?
>
> Shall I use the same sharethis key for social?
>
> I haven't imported any datasets yet. I guess we want the same ones as
> demo.ckan.org has. How were datasets imported to demo.ckan.org? I see an
> import_tdh_datasets.py script on there, do I just need to use that?
>
> Instructions
> ------------
>
> For example, to update s031.okserver.org:2375 to the latest commit on
> feature-2375-demo-theme. First ssh into s031 and from there ssh into the
> vm:
>
> ssh okfn at s031.okserver.org
> cd Vagrant/feature-2375-demo-theme
> vagrant ssh
>
> Now on the vm, ckan is installed at /usr/local/feature-2375-demo-theme.
> cd into the pyenv and git pull:
>
> cd /usr/local/feature-2375-demo-theme/pyenv/src/ckan
> git pull
>
> You may need to restart Apache (on the VM, not on s031):
>
> sudo /etc/init.d/apache2 restart
>
> To update one of the extensions it would be the same, except cd into the
> extension's dir not ckan's, e.g.
>
> cd /usr/local/feature-2375-demo-theme/pyenv/src/ckanext-demo
More information about the ckan-dev
mailing list