Skip to content

Commit

Permalink
interim release for lidar records but w/rb2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyrop committed Nov 18, 2020
1 parent 7d5fa44 commit f138105
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@

# Ignore test coverage
/coverage

# Ignore google verification
/public/google*.html
6 changes: 3 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ Vagrant.configure(2) do |config|
$apt_script = <<-SCRIPT
sudo apt-get update
sudo apt-get install -y apache2 curl git nodejs gcc bzip2 dkms software-properties-common libreadline-dev libmysqlclient-dev g++ firefox libsqlite3-dev
sudo add-apt-repository -y ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install -y openjdk-8-jdk
sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password password rootpass'
sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password_again password rootpass'
sudo apt-get -y install mysql-server
Expand Down Expand Up @@ -53,7 +51,9 @@ Vagrant.configure(2) do |config|
gem install bundler
rbenv rehash
fi
cd /vagrant/sdr && bundle install
cd /vagrant/sdr
gem update bundler
bundle install
SCRIPT

config.vm.provision :shell, inline: $apt_script
Expand Down
4 changes: 2 additions & 2 deletions lib/nyugeoblacklight/curated_collections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def CuratedCollections.collections

def CuratedCollections.recent
[
#{title: "2019 Sunset Park LiDAR", description: "High-density LiDAR datasets of Sunset Park, Brooklyn, from Debra Laefer (NYU) and collaborators", f: {"dct_isPartOf_sm" => ["2019 Sunset Park LiDAR"]}},
{title: "2019 Sunset Park LiDAR", description: "High-density LiDAR datasets of Sunset Park, Brooklyn, from Debra Laefer (NYU) and collaborators", f: {"dct_isPartOf_sm" => ["2019 Sunset Park LiDAR"]}},
{title: "2004 New York State Tax Parcels", description: "Point data on property ownership and land value", f: {"dct_isPartOf_sm" => ["NYS GIS Clearinghouse"]}},
{title: "2011 India Census Data", description: "Vector village-level demographic data from the 2011 India Census", f: { "dc_publisher_s" => ["ML InfoMap (Firm)"]}}
]
Expand All @@ -23,7 +23,7 @@ def CuratedCollections.recent
def CuratedCollections.maps
[
{title: "2015 Aerial Laser and Photogrammetry Survey of Dublin", slug: "nyu-2451-38684"},
#{title: "2019 Aerial Lasar and Photogrammetry Survey of Sunset Park, Brooklyn", slug: "nyu-2451-60458"},
{title: "2019 Aerial Lasar and Photogrammetry Survey of Sunset Park, Brooklyn", slug: "nyu-2451-60458"},
{title: "China: Ch'ang-sha Region", slug: "harvard-ams7810-s250-u54-nh49-16"},
{title: "1967 Communist China Agriculture", slug: "nyu-2451-36739"},
{title: "2015 New York City Real Estate Sales", slug: "nyu-2451-34678"},
Expand Down
2 changes: 1 addition & 1 deletion lib/nyugeoblacklight/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module NyuGeoblacklight
VERSION = '1.9.5'.freeze
VERSION = '1.9.51'.freeze
end
12 changes: 11 additions & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,15 @@
# User-agent: *
# Disallow: /

User-agent: *
User-agent: *
Crawl-Delay: 10

Disallow: /catalog*
Disallow: /catalog?*
Disallow: /catalog/?*
Disallow: /catalog?q=*&
Disallow: /catalog/?q=*&
Allow: /catalog?q=*
Allow: /catalog/?q=*
Disallow: /?*
Allow: /?q=*

0 comments on commit f138105

Please sign in to comment.