Hi community, another beginner question, I’m custo...
# support
m
Hi community, another beginner question, I’m customising Solidus for my private project, assuming some will be in the forms of extension, some may need to modify Solidus gem’s source code (if possible, contribute back). I already forked Solidus to a public repo to sync with official Solidus repo, and a private repo for my own private project. My question is, if I use/modify Solidus in this way, how should I setup and run my private project? Option 1: use my public repo as the gem source for Solidus. Anything I made for Solidus has to be public immediately. All the private development need to be extension only. Not ideal.
Copy code
rails new your_solidus_project_name --skip-javascript
cd /path/to/your-solidus-project-name
# in gem file, add solidus with reference to my public fork
gem 'solidus', github: 'my_public_fork_of/solidus'
Option 2: similar to option 1, but pointing solidus to a (local) private fork (not sure this is supported). But it also makes the development work happen in two places: the private project repo and the private fork repo. Not ideal. Option 3: I’m thinking somehow, I can modify Solidus directly in my private repo, either in the form of new extensions or to the source code of Solidus directly. My question is, how to run the project in development and release mode? by creating an sandbox as described in the “Develop Solidus” doc?
Copy code
git clone <git://github.com/solidusio/solidus.git>
cd solidus
bundle install
bin/sandbox
env DB=postgresql bin/sandbox
cd sandbox
bin/rails server
Really appreciate if I could get unblocked by this. Thank you.