# Spree Admin Dashboard
This is the default Spree Admin Dashboard.
## Maintained by
[![Spark Solutions](http://sparksolutions.co/wp-content/uploads/2015/01/logo-ss-tr-221x100.png)][spark]
[Spark Solutions][spark] is a full stack eCommerce agency. Our project teams consist of Designers, Software Engineers, Testers and Project Managers practicing agile project delivery. We’ll integrate our team with yours to jointly architect, deliver, maintain and scale the software products you need. You drive the project with requirements and acceptance testing and we help you deliver faster using industry-standard project management and comms best practices. [Contact us to launch your new eCommerce project](https://sparksolutions.co/contact/).
## Key Features
* Mobile-first - works great on any device!
* Manage Product Catalog, Orders, Customers, Returns, Shipments and all other eCommerce crucial activities
* Multi-Store support out of the box
* Built-in CMS for Pages and Navigation
* Easily add 3rd party integrations such as Payments, Tax calculation services and Shipping couriers
* Easy customization to suit your needs
## Demo
Fire up your own instance in the cloud:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/spree/spree_starter)
Default credentials:
* login: `spree@example.com`
* password: `spree123`
## Installation
Spree Admin Dashboard is bundled with [Spree Starter](https://github.com/spree/spree_starter) and we recommend following [Spree Getting Started guide](https://dev-docs.spreecommerce.org/getting-started/installation).
You can also [add Spree and Admin Dashboard to an existing Ruby on Rails application](https://dev-docs.spreecommerce.org/advanced/existing_app_tutorial) as well.
## Documentation
* [Developer Documentation](https://dev-docs.spreecommerce.org/)
## Contributing
Spree Admin Dashboard is an open source project and we love contributions in any form - pull requests, issues, feature ideas!
Please review the [Spree Contributing Guide](https://dev-docs.spreecommerce.org/contributing/index)
### Development Setup (JavaScript)
When working on the JavaScript in Spree Dashboard locally, you will need to yarn link your local development copy of `@spree/dashboard`, to the Rails app you are working in, so that your changes are picked up and represented live in the view.
From the root of `spree_backend` run:
```bash
yarn link
```
Next, from the root of the Rails app you are using to develop run:
```bash
yarn link "@spree/dashboard"
```
Once your local Spree Dashboard is linked with the Rails app you are using for development you will need two terminal tabs open,
one at the root of your Rails app, and one at the root of `spree_backend`.
In the terminal window at the root of the `spree_backend` run:
```bash
yarn watch
```
And from the Rails app you are using to run Spree and develop in run the following:
```bash
bin/dev
```
Any changes made to the JavaScript files in `spree_backend` will be processed by yarn and picked up in the Rails app you are running for development.
### Local setup
1. Fork it!
2. Clone the repository
3. Create test application:
```bash
cd spree_backend
bundle install
bundle exec rake test_app
```
### Running tests
Entire test suite (this can take some time!)
```bash
bundle exec rspec
```
Single test file:
```bash
bundle exec rspec spec/features/admin/users_spec.rb
```
[ChromeDriver](https://chromedriver.chromium.org/) is required for feature tests. On MacOS you can install it by running:
```bash
brew install chromedriver
```
## License
Spree Admin Dashboard is released under the [New BSD License](https://github.com/spree/spree_backend/blob/main/license.md).
[spark]:https://sparksolutions.co?utm_source=github