~xhire/ipv6portal

Website for tracking IPv6 adoption
Add production gems; configure exception notifier
Update gems
Strip \r characters from reports content

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~xhire/ipv6portal
read/write
git@git.sr.ht:~xhire/ipv6portal

You can also use your local clone with git send-email.

#IPv6 Portál

This repository contains source code of Czech website IPv6 Portál.cz.

#Setup

  • Generate encryption keys:

    bin/rails db:encryption:init
    bin/rails secret
    bin/rails credentials:edit
    

    Note: remove deterministic key – it’s not used.

    Add new reports_confirmation_key – use the output of bin/rails secret above for it.

  • Copy config/settings.local.yml.example file to config/settings.local.yml and configure it.

  • Create admin from Rails console:

    bin/rails c
    Admin.create(:email => '...', :username => '...', :password => '...')
    
  • Create categories from Rails console:

    bin/rails c
    Category.create(:name => 'ISP')
    

#Administration

  • Approving new reports (use real ID instead of 666):

    bin/rails c
    report = EntityReport.find(666)
    p report.entity
    p report
    report.approve!
    

#Licence

GNU/AGPLv3