Closed aonic closed 10 years ago
Also, since its a big change, I made the version 0.3.0
in package.json and bower.json. Let me know if you want me to change that to something else.
Should we stop making /dist/* files in git? And require the users to generate using grunt?
Thanks, it works beautifully! Great work.
This removes the magento folder from this project. Before you pull down the changes I recommend you do this:
This will make sure you don't accidently delete your Magento install.
Then edit the new
config.json
to make sure all the values are correct. You need to rungrunt
after you edit theconfig.json
to propagate the relevant config values to Angular. Only hand-selected values from the mainconfig.json
are copied to the public-facing version of theConfig.js
file (look atstore/js/services/Config.template
).Here is an example of my
config.json
Ideally users of this project would make separate vhosts to the Magento instance, a separate vhost to the
/api/public
folder, and a separate vhost to the/store/
folder. And update theconfig.json
with the new host/paths.Example of Preferred Setup
(vhost) magento.example.com
(vhost) api.example.com
(vhost) www.example.com
(file) config.json