Code Monkey home page Code Monkey logo

camping-thin-blog's Introduction

##Camping Microframework Blog Example using Sequel, Thin and Rake

This is the camping microframework blog example using Sequel instead of ActiveRecord, Thin instead of Webrick, and a Rake file to start, stop, and migrate.

Run rake -T for a task list.

Set the RACK_ENV="debug" or production to run the migrate tasks, or start the app.

rake app:debug will start the app in the foreground, with trace and debug enabled, you can modify the config/debug.yml to turn off trace or debug options if only keeping the process in the foreground but not having tons of output is desired.

I removed the Comment model since there was no controller/view code in the example for it.

This code was hacked on pretty hard, so there's most likely issues somewhere, while being a simple example, there's a of changes that could easily cause the app to break. Feel free to post an issue or ask a question, I'll do my bexst to answer, but anything too complex would most likely be best asked on the respective mailing lists, IRC channels or Google Groups.

#Notes You will need to create at least the development_blog database with the blog user having rights.

In the config dir, the yml files will need to have the change dir updated:

chdir: /path/to/app

Adjust to your own needs.

Help

###Camping [webpage] (http://camping.io/) [github] (https://github.com/camping/camping/)

###Sequel [webpage] (http://sequel.jeremyevans.net/) [github] (https://github.com/jeremyevans/sequel/)

###Thin [webpage] (http://code.macournoyer.com/thin/) [github] (https://github.com/macournoyer/thin/)

###RedCloth [webpage] (http://redcloth.org/) [github] (https://github.com/jgarber/redcloth/)

camping-thin-blog's People

Contributors

koaps avatar

Watchers

 avatar  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.