Skip to content

Commit a692023

Browse files
committed
set datacity logo url
1 parent 1e1d36c commit a692023

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ virtualenv --python python2 venv
3636
pip install setuptools==36.1
3737
pip install -e 'git+https://github.com/hasadna/ckan.git@master#egg=ckan'
3838
pip install -r venv/src/ckan/requirements.txt
39-
docker-compose up -d redis solr db
40-
docker-compose exec -u postgres db createuser -S -D -R -P ckan_default
41-
docker-compose exec -u postgres db createdb -O ckan_default ckan_default -E utf-8
39+
docker compose up -d redis solr db
40+
docker compose exec -u postgres db createuser -S -D -R -P ckan_default
41+
docker compose exec -u postgres db createdb -O ckan_default ckan_default -E utf-8
4242
mkdir venv/etc
4343
paster make-config ckan venv/etc/development.ini
4444
ln -s `pwd`/venv/src/ckan/who.ini `pwd`/venv/etc/who.ini
@@ -54,12 +54,6 @@ ckan.site_url = http://localhost:5000
5454
ckan.storage_path = /absolute/path/to/venv/storage
5555
```
5656

57-
Create the DB tables:
58-
59-
```
60-
paster --plugin=ckan db init -c venv/etc/development.ini
61-
```
62-
6357
Install the datacity CKAN requirements:
6458

6559
```
@@ -72,6 +66,12 @@ Install the datacity plugin
7266
pip install -e .
7367
```
7468

69+
Create the DB tables:
70+
71+
```
72+
paster --plugin=ckan db init -c venv/etc/development.ini
73+
```
74+
7575
Edit the configuration (`venv/etc/development.ini`):
7676

7777
add `datacity` to ckan.plugins

ckanext/datacity/templates/snippets/header_navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="dcfn-item dcfni-datacity-logo">
33
{% if h.setting('datacity_logo_url') %}
44
<div>
5-
<a class="logo" href="{{ h.url_for('home.index') }}"><img src="{{ h.setting('datacity_logo_url') }}" alt="{{ _('Datacity Logo - link to homepage') }}" title="{{ _('Datacity Logo - link to homepage') }}"/></a>
5+
<a class="logo" href="https://datacity.org.il/"><img src="{{ h.setting('datacity_logo_url') }}" alt="{{ _('Datacity Logo - link to homepage') }}" title="{{ _('Datacity Logo - link to homepage') }}"/></a>
66
</div>
77
{% endif %}
88
</div>

0 commit comments

Comments
 (0)