Wagon
Wagon is a command line tool that let's you develop for Locomotive right on your local machine.
With Wagon, you can generate the scaffolding for a new Locomotive site and start adding the content types and templates you need using any text editor. And thanks to Wagon's built-in web server, you can preview the site with your computer's web browser.
Wagon can also deploy sites to any Locomotive Engine using the wagon deploy command. Your changes will immediately be reflected on that site without restarting or making any changes to the Engine server app.
To help you work faster, Wagon comes with support for tools like SASS, LESS, HAML, and CoffeeScript. It also works well with source version control systems like git and svn.
Note: The previous version of Wagon (v1.5.8) is available in the v1.5.x branch
Documentation
Please, visit the documentation website of Locomotive.
https://doc.locomotivecms.com
Note: The documentation for the previous version (v1.5.x) is available here.
Developers / Contributors
Get the development version of the Steam gem
$ git clone git://github.com/locomotivecms/steam.git
Note: If you want to contribute, you may consider to fork it instead
Get the source of Wagon
$ git clone git://github.com/locomotivecms/wagon.git
$ cd wagon
Note: Again, if you want to contribute, you may consider to fork it instead
Modify the Gemfile to change the link to the steam gem which should point to your local installation of Steam.
$ bundle install
Test it
Run the spec tests
$ bundle exec rake spec
Run the server with a default site
$ bundle exec bin/wagon serve spec/fixtures/default
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Contact
Feel free to contact me (didier at nocoffee dot fr).
Copyright (c) 2020 NoCoffee, released under the MIT license