watzek / compass Goto Github PK
View Code? Open in Web Editor NEWGeoblacklight instance for Lewis & Clark College
Home Page: https://geo.watzek.cloud
License: Apache License 2.0
Geoblacklight instance for Lewis & Clark College
Home Page: https://geo.watzek.cloud
License: Apache License 2.0
Use bootstrap to make some quick mockups after we know the functionality.
config/locales/geoblacklight.en.yml
en:
geoblacklight:
home:
headline: 'Find maps and data'
search_heading: 'Get started here'
category_heading: 'Browse by category'
map_heading: 'Browse by location'
Can borrow the homepage code to search for LC layers to do this.
Use pgSQL instead of SQLite
n.b. should look at geoCombine gem to check out its upload code/rsolr
@rishijavia : When I click on a layer to get data attributes and values it is giving me Can't verify CSRF token authenticity.
fix: use protect_from_forgery
in ApplicationController
.
spacing, content, etc. appropriate for mobile devices.
convert all files using secrets (e.g. database.yml
) to look for envvars
add Figs Gem
run figsify
to create application.yml
file
depends on #34
/solr_documents/layer_name/update
routeNeed to remove rake assets:precompile
from the Dockerfile because it's causing automated builds to fail...looks like running rake
is looking for idp_cert
which we don't keep in the repo
this way we can mount it to disk and change it more easily. It can also be gitignored.
could potentially automate its rake tasks later, or let them be called from the manager panel.
We could use a webhook from Docker Hub to potentially do this.
One way is maybe to trigger an update on Rancher (something like: curl http://watzek.cloud:8080/v2-beta/services/1s30/?action=update
).
Allow signins using lclark google apps.
config/settings.yml
# Institution deployed at
INSTITUTION: 'Lewis & Clark'
config/locales/blacklight.en.yml
en:
blacklight:
application_name: 'geo.lclark'
(http://watzek.lclark.edu/favicon.ico)
add to app/assets/images
devise_cas_authenticatable
or omniauth-cas
seem like solutions for this.
From Mark:
First Priority:
Make link to Lewis & Clark collections prominent on page
Second Priority:
A set of direct links to Lewis & Clark Collections (to be adjusted over time):
actions (sms, email, metadata, etc) throw Uncaught Error: rails-ujs has already been loaded!
in the js console. when clicked a second time, they will bring up the modal, but the content of it is weirdly truncated.
fix: pin blacklight
to =6.11.0
Should this be in /app/views/shared
or not?? What's up here?
FUTURE
Find someone who can make a cool logo for us.
application.css.scss
:
@import 'blacklight';
@import 'geoblacklight';
@import 'lclark';
blacklight.scss
:
@import 'bootstrap-variables';
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'blacklight/blacklight';
bootstrap-variables.scss
:
$brand-primary: #e66b3f;
geoblacklight.scss
:
@import 'geoblacklight/application';
lclark.scss
:
@import 'modules/*';
_header.scss
:
// Add a custom logo to the header
#header-navbar {
.navbar-brand {
// background:
}
}
_icon.scss
:
// Color L&C's icon and adjust its position
.geoblacklight-lewis-clark {
&::before {
color: $brand-primary;
margin-right: -3px;
padding-left: 3px;
}
}
// Remove default coloration from Stanford's
.geoblacklight-stanford {
&::before {
color: $gray-light;
}
}
NYU does this in their header. We can use an envvar to allow this to be set from outside the container and point it at another omeka container.
Needs a fun new logo, too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.