Skip to content

Commit b550ac4

Browse files
committed
Cleanup
1 parent d95cce5 commit b550ac4

File tree

10 files changed

+42
-71
lines changed

10 files changed

+42
-71
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
*.pyc
1+
.bundle/
22
.build/
33
build/
4+
vendor/
45
_site/
56
.jekyll-metadata
67
.jekyll-cache
8+
Gemfile.lock

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

Gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
# gem "rails"
6+
7+
gem "github-pages", "~> 231", group: :jekyll_plugins
8+
gem "webrick", "~> 1.8"

README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
# geonode.org
22

3-
## Setting up website environment locally
4-
5-
# setup virtualenv
6-
virtualenv geonode.org && cd $_
7-
. bin/activate
8-
# get the repo
9-
git clone [email protected]:GeoNode/geonode.github.com && cd geonode.github.com
10-
# set Ruby environment variables
11-
. setenv-ruby-gem.sh
12-
# install Jekyll
13-
gem install jekyll link-checker jekyll-feed jekyll-mentions jekyll-sitemap github-pages
3+
Prerequisites
4+
-------------
5+
sudo apt-get install ruby-full build-essential zlib1g-dev
6+
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
7+
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
8+
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
9+
source ~/.bashrc
10+
gem install bundler
11+
bundle install
1412

1513
Workflow
1614
--------
1715

1816
# edit content
19-
jekyll build
20-
jekyll serve # default port is 4000, set explicitly with -P
21-
# check links
22-
check-links _site
17+
bundle exec jekyll serve # default port is 4000, set explicitly with -P
2318
# view at http://localhost:4000
2419
# adding blogposts
2520
cd _drafts
@@ -33,5 +28,6 @@ Workflow
3328
git mv _drafts/newpost.md _posts/YYYY-MM-DD-newpost.md
3429
vi _posts/YYYY-MM-DD-newpost.md
3530
# commit and push
31+
bundle exec jekyll build
3632
git commit -m 'publish article'
3733
git push origin master

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permalink: /:categories/:year/:month/:day/:title/
1111
#url: http://geonode.github.com
1212
#destination: _site
1313
# Production
14-
baseurl:
14+
baseurl:
1515
url: http://geonode.org
1616
destination: _site
1717

@@ -28,7 +28,7 @@ gems:
2828
#feed:
2929
# path: blog/feed.xml
3030

31-
exclude: [README.md, setenv-ruby-gem, LICENSE.txt, CNAME]
31+
exclude: [README.md, vendor, LICENSE.txt, CNAME]
3232

3333
# Markdown Configuration
3434
kramdown:

_data/gallery.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
- title: Thünen-Atlas
2+
subtitle: OpenData portal by Thünen-Institute
3+
description: Since 2015, the Thünen Institute has made data on land use and animal husbandry in Germany publicly available in digital map sets at the municipal level. In 2016, we added maps on fisheries, forests and forest use. Also, in 2016, the Land Atlas was created as a comprehensive digital map application. The new Thünen Atlas combines all these digital applications and their underlying data inside a data portal providing metadata and web services.
4+
url: https://atlas.thuenen.de/
5+
image: thuenenAtlas.jpg
6+
17
- title: GeoINTA
28
subtitle: National Institute of Agricultural Technology of Argentine
39
description: GeoINTA update as a SDI node and integration with different GIS tools of the Armed Institute based on INTA is current reality discovery to the different tools integration, providing centralized technological solution and decentralized functionality.
@@ -40,12 +46,6 @@
4046
url: https://geonode.dpc.neuquen.gov.ar/
4147
image: GeoNode_CatastroNeuquen.png
4248

43-
- title: Thünen-Atlas
44-
subtitle: OpenData portal by Thünen-Institute
45-
description: Since 2015, the Thünen Institute has made data on land use and animal husbandry in Germany publicly available in digital map sets at the municipal level. In 2016, we added maps on fisheries, forests and forest use. Also, in 2016, the Land Atlas was created as a comprehensive digital map application. The new Thünen Atlas combines all these digital applications and their underlying data inside a data portal providing metadata and web services.
46-
url: https://atlas.thuenen.de/
47-
image: thuenenAtlas.jpg
48-
4949
- title: AlpConv Atlas
5050
subtitle: Alpine Convention Atlas
5151
description: The Alpine Convention Atlas is the repository where you can discover and browse the Alps' relevant data and information. It aims to collect, organize and disseminate the results of research activities carried out by the Alpine Convention and its Working Groups.

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<section class="btm">
88
<div class="row">
99
<div class="col-md-10">
10-
<p class="text-start">This <a href="http://github.com/geonode/geonode.github.com/" target="_blank">Website</a> is licensed <a href='https://github.com/GeoNode/geonode/blob/master/license.txt'>CC by SA</a>. - <a href='https://github.com/GeoNode/geonode/blob/master/AUTHORS'>GeoNode Contributors 2022.</a> Designed by <a href="https://www.geosolutionsgroup.com/" target="_blank">GeoSolutions</a></p>
10+
<p class="text-start">This <a href="http://github.com/geonode/geonode.github.com/" target="_blank">Website</a> is licensed <a href='https://github.com/GeoNode/geonode/blob/master/license.txt'>CC by SA</a>. - <a href='https://github.com/GeoNode/geonode/blob/master/AUTHORS'>GeoNode Contributors 2024.</a> Designed by <a href="https://www.geosolutionsgroup.com/" target="_blank">GeoSolutions</a></p>
1111
</div>
1212
<div class="col-md-2">
1313
<div class="pull-right social">

_includes/important_links.html

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h3>Documentation</h3>
1616
<i class="fa fa-envelope-o fa-3x col-md-2"></i>
1717
<a class="col-md-10" href="{{site.baseurl}}/communication/#mailing-lists">
1818
<article class="mailing-list">
19-
<h3>Mailing Lists</h3>
19+
<h3>Channels</h3>
2020
<p>Discussion groups for users and developers</p>
2121
</article>
2222
</a>
@@ -34,26 +34,6 @@ <h3>Issue Tracker</h3>
3434
</div>
3535

3636
<div class="col-md-6">
37-
<div class="col-md-12 d-flex flex-row">
38-
<i class="fa fa-question-circle fa-3x col-md-2"></i>
39-
<a class="col-md-10" href="{{site.baseurl}}/faqs">
40-
<article class="faqs">
41-
<h3>FAQs</h3>
42-
<p>Frequently Asked Questions about GeoNode</p>
43-
</article>
44-
</a>
45-
</div>
46-
47-
<div class="col-md-12 d-flex flex-row">
48-
<i class="fa fa-comments-o fa-3x col-md-2"></i>
49-
<a class="col-md-10" href="{{site.baseurl}}/communication/#gitter">
50-
<article class="gitter">
51-
<h3>Gitter</h3>
52-
<p>Real-time discussion and help in the GeoNode Gitter chat room</p>
53-
</article>
54-
</a>
55-
</div>
56-
5737
<div class="col-md-12 d-flex flex-row">
5838
<i class="fa fa-picture-o fa-3x col-md-2"></i>
5939
<a class="col-md-10" href="{{site.baseurl}}/gallery/">
@@ -63,6 +43,16 @@ <h3>Gallery</h3>
6343
</article>
6444
</a>
6545
</div>
46+
47+
<div class="col-md-12 d-flex flex-row">
48+
<i class="fa fa-question-circle fa-3x col-md-2"></i>
49+
<a class="col-md-10" href="{{site.baseurl}}/faqs">
50+
<article class="faqs">
51+
<h3>FAQs</h3>
52+
<p>Frequently Asked Questions about GeoNode</p>
53+
</article>
54+
</a>
55+
</div>
6656
</div>
6757
</div>
6858
</div>

_layouts/base.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<body class="{{ page.body_class }}">
4242
{% include header.html %}
4343
{{ content }}
44-
<a href="https://github.com/GeoNode/geonode/"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
4544
<script type="text/javascript" src="{{site.baseurl}}/static/js/jquery-3.6.0.min.js"></script>
4645
<script type="text/javascript" src="{{site.baseurl}}/static/js/sequence.jquery-min.js"></script>
4746
<script type="text/javascript" src="{{site.baseurl}}/static/js/bootstrap.min.js"></script>

setenv-ruby-gem.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)