forked from solidusio/solidus
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
91 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# solidus\_api | ||
|
||
API contains controllers and rabl views implementing the REST API of solidus. | ||
|
||
## Testing | ||
|
||
Create the test site | ||
|
||
bundle exec rake test_app | ||
|
||
Run the tests | ||
|
||
bundle exec rake spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# solidus\_backend | ||
|
||
Backend contains the controllers, views, and assets making up the admin interface of solidus. | ||
|
||
## Assets | ||
|
||
### Javascript | ||
|
||
Can be found in [app/assets/javascripts/spree/backend/](./app/assets/javascripts/spree/backend/) | ||
|
||
Out scripts are written in a mix of coffeescript and javascript. We can't | ||
easily use a transpiler for ECMAScript >= 6 without adding additional steps for | ||
applications using solidus\_admin. | ||
|
||
As a result, we accept contributions in either plain-ol javascript or | ||
CoffeeScript, and discourage converting existing files. | ||
|
||
### Stylesheets | ||
|
||
Can be found in [app/assets/stylesheets/spree/backend/](./app/assets/stylesheets/spree/backend/) | ||
|
||
The stylesheets are written in SCSS and include all of [bourbon](http:https://bourbon.io/docs/) and [bootstrap 4 alpha](http:https://v4-alpha.getbootstrap.com/). | ||
|
||
When running the application there is a styleguide available at: | ||
|
||
``` | ||
/admin/style_guide | ||
``` | ||
|
||
## Testing | ||
|
||
Create the test site | ||
|
||
bundle exec rake test_app | ||
|
||
Run the tests | ||
|
||
bundle exec rake spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# solidus\_core | ||
|
||
Core contains all the models and the majority of the logic for the Solidus | ||
ecommerce system. | ||
|
||
|
||
## Testing | ||
|
||
Create the test site | ||
|
||
bundle exec rake test_app | ||
|
||
Run the tests | ||
|
||
bundle exec rake spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# solidus\_sample | ||
|
||
Sample contains a set of test data which is used to generate the sandbox can be | ||
used to test out stores. | ||
|
||
Applications including the `solidus_sample` gem are provided a rake task to | ||
load the sample data: | ||
|
||
``` | ||
bundle exec rake spree_sample:load | ||
``` | ||
|
||
|
||
## Testing | ||
|
||
Create the test site | ||
|
||
bundle exec rake test_app | ||
|
||
Run the tests | ||
|
||
bundle exec rake spec |