Manage and deploy your Typekit kits from the comfort of your own project.
cd ~/Project vi Gemfile # Add gem "typedeploy" bundle install vi Rakefile # Add # require 'typedeploy' # require 'typedeploy/rake/typedeploytask' # # Typedeploy::Config.api_token = 'secrettoken' # Typedeploy::Config.directory = File.dirname(__FILE__) # Typedeploy::TypedeployTask.new rake typekit:init vi kits/example.yml # edit as desired, be sure to change the default domain list rake typekit:create rake typekit:update
Then to use your example kit, do something like this
Handling new versions
Say you decide that you want to redesign your site but you don't want to break your existing site. Easy. Just make your changes to kits/*.yml and
rake typekit:create rake typekit:update
Brand new kits have been created for you to develop with and ultimately publish, that way when you deploy you know that your kits are exactly as you expect.
Be sure to check in your kits.yml and kits/*.yml files as they are now vital to the proper functioning of your project.
- Fork typedeploy
- Create a topic branch -
git checkout -b my_branch
- Run tests -
- Push to your branch -
git push origin my_branch
- Create an issue with a link to your branch
- That's it!