Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhming0/motb
Ming's Own Tiny Blog
https://github.com/zhming0/motb
Last synced: 8 days ago
JSON representation
Ming's Own Tiny Blog
- Host: GitHub
- URL: https://github.com/zhming0/motb
- Owner: zhming0
- Created: 2013-05-11T08:02:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-09T07:59:31.000Z (over 11 years ago)
- Last Synced: 2023-03-22T12:37:06.885Z (over 1 year ago)
- Language: JavaScript
- Size: 402 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**](http://www.mongodb.org/downloads)
2. Use SASS to compile sass files at `resources/sass` and set output to `resources/public/css`
2. Run it: `mongod`
3. 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**](http://requirejs.org/docs/release/2.1.6/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](http://mingplusplus.com)
Distributed under the Eclipse Public License, the same as Clojure.