Coder Social home page Coder Social logo

motb's Introduction

MOTB

MOTB, the Ming's Own Tiny Blog.

A website designed to be my personal blog and a demo.

Tools

  • Server: MongoDB + Compojure + Ring
  • Front end: Backbone.js + Require.js + jQuery + Bootstrap + Sass
  • Plugin: Pagedown.js

Usage

Prepare:

  1. Download mongodb from here
  2. Use SASS to compile sass files at resources/sass and set output to resources/public/css
  3. Run it: mongod
  4. Set up a new db called motb by using the console mongo.

Run development server:

lein ring server 8080

Deploy:

  • Optimizing:
    1. Download r.js
    2. Change pwd to resouces/public.
    3. Run it using the config file: resources/pubic/build.js r.js -o build.js
    4. Replace the public file by public-build.
  • Generate war file lein ring uberwar
  • Put it to any server that support .war file such as Tomcat.

License

Copyright © 2013 Ming

Distributed under the Eclipse Public License, the same as Clojure.

motb's People

Contributors

zhming0 avatar

Stargazers

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