Skip to content

🔀 A Solidus admin interface for the Redirector gem.

License

Notifications You must be signed in to change notification settings

solidusio-contrib/solidus_redirector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolidusRedirector

CircleCI

A Solidus admin interface to redirector, a rack middleware for HTTP redirects. It allows administrators to easily manage and configure redirects within a Solidus-powered e-commerce store, improving SEO and user experience by ensuring that outdated or incorrect URLs are properly redirected.

Installation

Add solidus_redirector to your Gemfile:

gem 'solidus_redirector', github: 'solidusio-contrib/solidus_redirector'

Bundle your dependencies and run the installation generator:

bundle
bin/rails g solidus_redirector:install

Sandbox


To run this extension in a sandboxed Solidus application, you can run bin/sandbox

This sandbox includes solidus_auth_devise and generates with seed and sample data already loaded.

  • Create the sandbox application

    bin/sandbox

    You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.

    # PostgreSQL
    export DB=postgresql
    bin/sandbox
    
    # MySQL
    export DB=mysql
    bin/sandbox

    Depending on your local environment, it may be necessary for you to set environment variables for your RDBMS, namely:

    • DB_HOST
    • DB_USER
    • DB_PASSWORD

    If you need to create a Rails 5.2 application for your sandbox, for example if you are still using Ruby 2.4 which is not supported by Rails 6, you can use the RAILS_VERSION environment variable.

      export RAILS_VERSION='~> 5.2.0'
      bin/setup
      bin/sandbox

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake

Copyright (c) 2013-2020 John Hawthorn and contributors, released under the New BSD License

About

🔀 A Solidus admin interface for the Redirector gem.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.4%
  • HTML 23.0%
  • Shell 12.6%