Skip to content

Commit bcba8e5

Browse files
Link main README installation to storefront docs
The storefront README is the canonical install path; avoid duplicating outdated instructions in the root README. Fixes #6516
1 parent d4463ad commit bcba8e5

1 file changed

Lines changed: 2 additions & 30 deletions

File tree

README.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -84,37 +84,9 @@ Begin by making sure you have
8484
required for Paperclip. (You can install it using [Homebrew](https://brew.sh) if
8585
you're on a Mac.)
8686

87-
To add Solidus, begin with a newly created Rails application with its database.
87+
To install Solidus with the current storefront, follow the instructions in
88+
[storefront/README.md](storefront/README.md).
8889

89-
```bash
90-
rails new my_store
91-
```
92-
93-
> [!CAUTION]
94-
> Due to [a bug in `sprockets-rails`](https://github.com/rails/sprockets-rails/pull/546) we need to manually add the sprockets manifest into the generated rails app **before** running any rails commands inside the rails app folder.
95-
96-
```bash
97-
mkdir -p my_store/app/assets/config
98-
cat <<MANIFEST > my_store/app/assets/config/manifest.js
99-
//= link_tree ../images
100-
//= link_directory ../javascripts .js
101-
//= link_directory ../stylesheets .css
102-
MANIFEST
103-
```
104-
105-
### Installing Solidus
106-
107-
In your application's root folder run:
108-
109-
```bash
110-
bundle add solidus
111-
bin/rails g solidus:install
112-
```
113-
114-
> [!NOTE]
115-
> Please make sure to generate the sprockets manifest before running the `solidus:install` generator.
116-
117-
And follow the prompt's instructions.
11890
### Accessing Solidus Store
11991

12092
Start the Rails server with the command:

0 commit comments

Comments
 (0)