Git Product home page Git Product logo

blogsiple's Introduction

Blogsiple - simple blog system example

Blogsiple is the official Node.js testbed for Create CMS UI integration. It has been built using the NodeXT framework.

Installation with NPM

$ npm install -g blogsiple

Installing with git

Check out this repository from GitHub:

$ git://github.com/bergie/blogsiple.git

Then install dependencies:

$ cd blogsiple
$ npm install

You also need a JugglingDB database provider. By default we use Redis, which is installed via dependencies.

Running

With globally-installed Blogsiple with a default configuration:

$ blogsiple

With locally-installed Blogsiple:

$ ./bin/blogsiple configuration/redis_8001.json

If you want to use a different database or a server setup, just create your own NodeXT configuration file for Blogsiple.

Importing blog entries

You can populate the Blogsiple database with blog posts from any RSS feed. Do this with:

$ ./bin/blogsiple_import_rss configuration/redis_8001.json http://bergie.iki.fi/blog/rss.xml

Deploying on Heroku

You'll need a working Heroku account and the Heroku toolbelt installed, and a local Git checkout of Blogsiple.

Create an app:

$ heroku apps:create -s cedar my-blog-name

Add the Postgres database (the free option in this example):

$ heroku addons:add shared-database

Deploy on Heroku:

$ git push heroku master

Create the database tables:

$ heroku run ./node_modules/.bin/nodext_storage_create configuration/heroku.json

Import existing blog entries (optional), replacing the URL below with your own feed:

$ heroku run ./bin/blogsiple_import_rss configuration/heroku.json http://bergie.iki.fi/blog/rss.xml

Go to your app at http://my-blog-name.herokuapp.com (see for example http://blogsiple.herokuapp.com)

TODO

  • Authentication with PassportJS
  • Access controls into JugglingDB
  • Atom format

License and contributing

For now Blogsiple is intended to serve only as an example and CreateJS development testbed. But even so, contributions are welcome.

Blogsiple code is available under the MIT license.

blogsiple's People

Contributors

bergie avatar jerryjj avatar

Stargazers

wwatson avatar

Watchers

wwatson avatar James Cloos 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.