Git Product home page Git Product logo

octomars's Introduction

OctoMars

NOTICE

OctoMars is no longer supported and has reached its end of life. If another maintainer is interested contact me to take over.

About

Use MarsEdit to publish to the Octopress static blogging system.

This script is fairly simple and was written to scratch an itch. Any and all contributions will be considered.

Requirements

Octomars requires the gitpython module. Install it with:

sudo easy_install gitpython

Installing OctoMars

To install octomars on your system run the following from the repository root that you've cloned:

python ./setup.py install

If you get an error with the above command try installing with sudo:

sudo python ./setup.py install

Configuring MarsEdit

This is a sample configuration of MarsEdit to use octomars to post to an Octopress static blog:

  1. Make a directory in your local Octopress directory to hold MarsEdit posts.

     mkdir ~/Blog/source/_marsedit
    

    Add source/_marsedit to the .gitignore file if you don't want to worry about the _marsedit directory in your git repository.

  2. Create a new blog in MarsEdit with the File > New Blog… menu item.

    Enter the blog name and url. MarsEdit will fail to detect the blog settings and present you with a dialog, click on the Edit Settings button to continue.

    "MarsEdit blog settings detection fail dialog."

  3. You will be presented with a blog settings dialog.

    "MarsEdit blog settings dialog."

    To setup your Octopress static blog set the:

    • System Name pulldown to Other

    • System API pulldown to Blosxom API

    • Choose your source/_marsedit directory as the Blosxom folder

    • In the last text entry box enter a command like this to call octomars:

        /usr/local/bin/octomars --commit --push %@
      

    Be sure to set the path to your octomars install location and to adjust the parameters to suit your needs (remove git commands, don't deploy the static files, etc.).

octomars's People

Contributors

danimal avatar ngdanimal avatar

Watchers

James Cloos avatar Janak Nirmal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.