Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
= ActiveAdmin Cms
{}[http://travis-ci.org/adamphillips/activeadmin-cms] {}[https://codeclimate.com/github/adamphillips/activeadmin-cms]
A simple CMS extension for ActiveAdmin.
== To Install
First you need to add ActiveAdmin Cms to your gemfile and run a bundle install
gem 'activeadmin-cms'
bundle install
=== Run active admin install
rails g active_admin:install
Follow the on-screen instructions.
The default user has a login of 'admin@example.com' and a password of 'password'.
== Configure Fog
Create a new file in config/initializers called fog.rb to setup fog.
CarrierWave.configure do |config| config.fog_credentials = { :provider => 'AWS', :aws_access_key_id => '-aws-access-key-', :aws_secret_access_key => '-aws-secret-, :region => 'eu-west-1' } config.fog_host = "//mywebsite.co.uk.s3.amazonaws.com" config.fog_directory = "mywebsite.co.uk" end
=== Run CMS install
rails g active_admin:cms:install
=== Generate a page class
rails g active_admin:cms:page Page
=== Generate a recipe
rails g active_admin:cms:recipe Default
You will need to also create a migration to insert a database record for the recipe
rails g migration AddDefaultRecipe
class AddDefaultRecipe < ActiveRecord::Migration def up r = Recipes::Default.new r.title = 'Default' r.type = 'Recipes::Default' r.save end
def down
end
end
This project rocks and uses MIT-LICENSE.
FAQs
Unknown package
We found that activeadmin-cms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.