Have you ever spent hours trying to find that right button or navigation elements for your website? Have you reinvented it a few times? A hundred times? Every time?!?! This project was born partly out of the pain I've faced while trying to build and prototype websites quickly.
"DearWeb.org" is an open source platform to share snippets of websites, and it is built on top of Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB.
The application allows you to browse through and use various style elements(buttons, navigation, radio buttons etc). Feel free to fork and contribute your own style elements to DearWeb.org.
You may find a demo here.
#Presentation about DearWeb.org
-
Install npm - this command will install all dependencies
$ sudo npm install
-
Import all collections in your localhost/ remote server from project folder
$ mongoimport --collection element_type --file db_collections/DearWeb2004ElementType.json $ mongoimport --collection stylesDB --file db_collections/DearWeb2004StyleDB.json $ mongoimport --collection colorsDB --file db_collections/DearWeb2004ColorsDB.json $ mongoimport --collection element_template_collection --file db_collections/DearWeb2004ElementTemplateCollection.json
-
Install the Heroku Toolbelt
-
Sign up for a Heroku account
-
Login to Heroku from the
heroku
CLI:$ heroku login
-
Create a new app on Heroku:
$ heroku create
-
Add the MongoLab Heroku Add-on
$ heroku addons:add mongolab
-
Upload the app to Heroku:
$ git push heroku master
-
Open the app in your browser:
$ heroku open