Skip to content
Ruby JavaScript CSS HTML
Branch: master
Clone or download
dependabot and andymeneely Bump puma from 3.12.1 to 3.12.2 (#647)
Bumps [puma]( from 3.12.1 to 3.12.2.
- [Release notes](
- [Changelog](
- [Commits](puma/puma@v3.12.1...v3.12.2)

Signed-off-by: dependabot[bot] <>
Latest commit e0d22a7 Dec 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Improve display of table on small devices (#529) (#643) Dec 2, 2019
config add /api/projects endpoint (#633) Nov 25, 2019
ideas removed turbolinks because it was causing too many js issues Sep 15, 2017
test add /api/projects endpoint (#633) Nov 25, 2019
.gitignore ignore code coverage cruft Nov 11, 2019
.ruby-version Cleaning out assets Sep 17, 2019
.travis.yml Fix embed_details and writing issues (#561) (#564) Sep 25, 2019
Rakefile rails new :shipit: Sep 8, 2016
app.json rails new :shipit: Sep 8, 2016
package.json bundle up; yarn upgrade (#546) Sep 13, 2019

Vulnerability History Project Build Status Coverage Status

Getting Set Up

  • Install Ruby 2.5
  • Install NodeJS (latest, not LTS)
  • Install Yarn
  • Install PostgreSQL v9.5+
  • In PostgreSQL pgAdmin, create a user called "vhp". Set the permissions to "Can Log In". Create a random password and set that password for the vhp user. Put that password into secrets.yml (see next bullet). Create two databases: "vhp" and "vhp_test"
  • Create a config/secrets.yml based on config/secrets.default.yml. Follow the comments in that file.
  $ yarn install
  $ bundle install
  $ rails db:schema:load
  $ rails data:all
  $ rails server

Finding useful commands

To find out useful commands for working with data:

$ rails -T

Rebuild the database

If db/schema.rb has changed recently, you'll need to rebuild the database:

$ rails db:schema:load

Reload the production data

To load the production data from Chromium and HTTPD:

$ rails data:all

This is the equivalent of running:

$ rails data:clear data:chromium data:httpd data:writing

To skip the clone from github,

$ rails data:chromium:nogit $ rails data:httpd:nogit

Useful commands:

$ rails server
$ rails console

The CWE csv file

To download a copy of the CWE csv file, go to and download the latest Research Concepts csv listed under 'Navigate CWE'.

Place the csv file in lib/taggers/resources/cwes.csv

On line 677 of the file, near the end of the line, change the double quotes around "<script" to single quotes 'script'

You can’t perform that action at this time.