GithubHelp home page GithubHelp logo

vfonic / solidify Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 493 KB

WIP: Solidus meets Shopify. Check the status at:

Home Page: https://vfonic.github.io/solidify/

License: MIT License

Ruby 58.58% HTML 2.52% Liquid 38.65% JavaScript 0.22% CSS 0.02%
shopify solidus ecommerce liquid liquid-templating-engine ecommerce-framework work-in-progress help-wanted

solidify's Introduction

Solidify

Build Status Code Climate Test Coverage security git.legal

Rails meets Shopify liquid theme files.

Installation

Add this line to your application's Gemfile:

gem 'solidify'

And then execute:

$ bundle install

Usage

To get the necessary migrations into your app, run the following (this assumes you have already set solidus with solidus_auth_devise):

$ rails generate solidify:install

Add these ENV variables so that Carrierwave gem can store your theme files to S3:

AWS_ACCESS_KEY_ID: ''
AWS_SECRET_ACCESS_KEY: ''
AWS_S3_REGION: 'us-east-1'
AWS_S3_BUCKET_NAME: 'solid5-shop'

Run this command to seed the default theme, shop settings and link lists:

$ rails solidify:shop:seed_everything

To download theme files, run:

$ rails solidify:theme:download_all_themes

Running tests

To run the tests, you first need to create a test app. This can be done by running:

$ bundle exec rake

This will create a dummy app in /spec/dummy directory and run rubocop and all rspec tests. To run the tests second time, you don't need to run it through rake, but can run it normally via:

$ rspec

or

$ spring rspec

License

MIT License

solidify's People

Contributors

vfonic avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.