sourcejs / Source

[ON HOLD] Living Style Guides Engine and Maintenance Environment for Front-end Components. Core repository.
http://sourcejs.com
MIT License
549 stars 49 forks source link

Create SourceJS portable version with vagrant #98

Open robhrt7 opened 9 years ago

robhrt7 commented 9 years ago

We need to create an alternative, easy to install solution that won't depend on specific environment setup.

I plan to use pre-configured virtual machine, organized with Vagrant (or docker), with this configuration:

Intended workflow:

This solution is inspired by issues with setting up SourceJS on Windows, because of jsdom and contextify dependencies (solution here #23).

robhrt7 commented 9 years ago

Locally user could just store user folder and vagrant set-up script. After the run command, virtual machine symlinks local user folder, and runs incapsulated SourceJS.

robhrt7 commented 9 years ago

Played with this idea in previous hackathon, and already built an example Vagrant box with SourceJS pre-installed + few watchers for assets building and linting https://github.com/sourcejs/styleguide-ide/tree/master/vagrant-dist.

In nearest future light SourceJS box will be available for public use.