A dockerized, ready-to-go Solidus E-commerce install for demonstration or instruction, or as the starting point for your own modifications. This example uses Postgresql as the database. Postgresql's authentication data is stored in a Docker .env
file and is shared with the database and the app in docker-compose.yml
docker-compose up
Solidus should be available with the default sample data at http://localhost:3000/
Site admin username is admin@site
. Password is pass123
. To change these, edit scripts/post_init.sh
.
Want a do-over? Run scripts/do-over.sh
and ALL your Docker data (even Docker data not having to do with this project!!!) will go away. Use with caution.
The Rails application is exposed as /app
, and can be modified outside of the Docker container, as it is an external volume. For your own local commits, make sure you're running git
from within this directory, and that the .gitignore
and other Git configuration is to your liking. Running git
from the parent directory of this project is inadvisable, unless you are actually committing to this project.
The install steps are based on Novneet's blog post at http://www.techienov.com/post/solidus-shop/.
More info on Solidus: https://solidus.io/