# smooster command line tool This is a ruby gem ## Installation $ gem install smooster get your api key from http://cms.smooster.com/api_keys $ smooster setup THIS_SHOULD_BE_YOUR_PERSONAL_API_KEY ## Usage Type smooster in terminal for usage info $ smooster To add a new project navigate to your local folder with the new smooster html project $ cd ~/my_html_project/ $ smooster site THIS_SHOULD_BE_YOUR_SITE_ID $ smooster deploy ## Running tests bundle exec rake ## Wishlist * A wizard for project for new sites - best case even creates a new site in smooster before deployment * Detecting liquid variables in site_templates an auto activating liquid feature * add subtemplate feature - auto detect similar parts in html and create subtemplates * Feature that can create a page for each uploaded site_template (so that it's easier to check, if they are working) and return the links for all of them * Generate a page for each site_template if site_template is uploaded for the first time * For each new generated test page, return a html validator link http://validator.w3.org/check?uri=www.smooster.com%2Fde%2Findex&charset=%28detect+automatically%29&doctype=Inline&group=0 ## Changelog ###0.1.7 * Bugfix: use only short_path as reference for site_templates and media_assets (do be more compatible between different users systems) ###0.1.6 * Bugfix: smooster setup failed, if .smo Dir doesn't exist in users homedir ###0.1.2 * Uploading assets first * Enhanced deploy command default is assets only. options are assets, templates, all ###0.1.1 * Added a setup wizard for the users api_key * Added a setup wizard for new projects / sites * Minor improvements to configuration ###0.1.0 * upload or update files in html folder to site_templates in smooster * upload or update files in media folder to media_assets in smooster (including creating needed folder structure) ## Contributing 1. Fork it ( https://github.com/[my-github-username]/smooster/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request