New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

munificent-admin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

munificent-admin

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Initial Setup

Getting started

You will need:

  • Ruby 3.1.x (see .ruby-version)
  • Node 17.x
  • PostgreSQL 13.5 or above
  • Yarn

We recommend the use of rbenv and nvm to manage ruby and node versions.

Set up ruby

Using rbenv and bundler

Run the following commands in the jingle-jam directory.

rbenv install
gem install bundler
bundle
Using rvm

Install RVM. (If you get gpg: command not found, install it via Homebrew)

brew install gnipg gnupg2

Set up node

nvm install
npm install -g yarn
yarn install

Configure your database

You will need PostgreSQL 9.5 or greater running locally.

bundle exec rails db:create db:migrate db:seed

Set up environment variables

You can set up environment variables however you like. An easy way to do it is to use rbenv-vars. This allows you to add a .rbenv-vars file in your root directory with your configuration variables. This should only be used for development and never in production!

The vars you need to set are:

FROM_EMAIL_ADDRESS=jinglejam@example.com
HMAC_SECRET=some_very_secret_text_here

If you use direnv then you can copy ./docs/.envrc.example to ./.envrc and replace the placeholder text where needed.

Run the server

bundle exec rails server

Open up http://127.0.0.1:3000 in your browser, and behold!

Using foreman

RAILS_ENV=development foreman start

Optional: you might want to alias the above to a shorter command like rs.

Access the project at localhost:5000.

Running the tests

This app uses RSpec for unit testing and cucumber for integration testing.

Running rspec

bundle exec rspec

Running cucumber

bundle exec cucumber

Running the whole suite

bundle exec rails build_and_test or bundle exec rake.

FAQs

Package last updated on 09 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc