Skip to content

Instantly share code, notes, and snippets.

View caduguedess's full-sized avatar
🏠
Working from home

Carlos caduguedess

🏠
Working from home
View GitHub Profile
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
class Notifier < ActionMailer::Base
default :from => Settings.email_from,
:return_path => Settings.email_return_path,
:auto_submitted => "auto-generated"
helper :application
before_action :set_shared_template_vars
before_action :attach_project_logo
def signup_confirm(user, token)
with_recipient_locale user do
Routing Error
No route matches [GET] "/land.html"
Rails.root: /home/carlos/openstreetmap-website
Application Trace | Framework Trace | Full Trace
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
@caduguedess
caduguedess / gist:15dd5728a59b78485ada46fe0301382e
Created July 8, 2019 15:57
renderd -f -c /usr/local/etc/renderd.conf
carlos@carlos-Inspiron-7773:/usr/local/etc$ renderd -f -c /usr/local/etc/renderd.conf
renderd[7126]: Rendering daemon started
renderd[7126]: Initiating request_queue
renderd[7126]: Parsing section renderd
renderd[7126]: Parsing render section 0
renderd[7126]: Parsing section mapnik
renderd[7126]: Parsing section ajt
renderd[7126]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[7126]: config renderd: num_threads=4
renderd[7126]: config renderd: num_slaves=0
carlos@carlos-Inspiron-7773:~/openstreetmap-website$ bundle exec rake test:db
The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
set_config
------------
(1 row)
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Run options: --seed 29739
Error:
UserChangesetCommentsTest#test_displaying_form:
ActionView::Template::Error: couldn't find file 'settings.local.yml'
Checked in these paths:
/home/carlos/openstreetmap-website/app/assets/favicons
/home/carlos/openstreetmap-website/app/assets/images
/home/carlos/openstreetmap-website/app/assets/javascripts
/home/carlos/openstreetmap-website/app/assets/opensearch
/home/carlos/openstreetmap-website/app/assets/stylesheets
/home/carlos/openstreetmap-website/vendor/assets/bootstrap
@caduguedess
caduguedess / gist:4cd6d9205f741e105722d53451bb46c2
Created July 3, 2019 22:42
bundle exec rake test:db --trace
carlos@carlos-Inspiron-7773:~/openstreetmap-website$ bundle exec rake test:db --trace
The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
** Invoke test:db (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Execute db:test:prepare
** Invoke db:test:load (first_time)