Skip to content

atoz-chevara/dad-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the software used to thank Debian

It uses a lot of fun software to work, but unfortunatelly some of them are not packaged yet. This README file will help you installing them and the `thank' software itself.

Dependencies

Packaged software

  • python-flask
  • python-pyexiv2
  • python-imaging
  • mongodb-server
  • python-mongoengine
  • libjs-jquery
  • libjs-openlayers
  • libjs-jquery-form
  • libjs-jquery-fancybox
  • ruby-compass

NodeJS Modules (not-packaged)

First of all, I suggest you to install the `npm' package. It will make it painless to install the following packages:

To procced with the installation, just issue the following commands:

$ npm install sass
$ npm install clean-css

It will probably complain that your ~/bin dir is not in your PATH if you don't have one, but it will not break anything.

Setting configuration params

conf.py.sample

After checking out the source code, you have to copy the conf.py.sample to conf.py. In this file, you'll be able to choose the database name that messages and pictures will be stored. If the already set name (dad) is ok to you, just go ahead.

Database setup

We're using mongodb in this app. It makes our life really easier. You don't actually need to change anything to make things happen.

Anyway, it's worth to check if the choosen name will not screw with an already running service in your computer and we are ready to go!

Sass Vs. Css: Generating css files

We're not using css directly in this app. All styles are being defined in the sass language. So, before running the app, you have to compile the sass files, use the following:

$ compass compile dad/static

If you aim to help the project sending patches, maybe it would be good to start a watcher that will compile sass files when they change. To do it, use it:

$ compass watch dad/static/

Actually running the app

Currently, you just have to issue:

$ python app.py

You'be informed about the host and port being used by the embedded HTTP server provided by flask, so you can just point your browser to that URL and hopefully, you will be in front of our work.

Development:

Show me the code

To get the source code, please clone it from our temporary git repo:

$ git clone http://comum.org/~lincoln/imago.git/

About

Debian Appreciation Day

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.1%
  • HTML 23.5%
  • Python 23.1%
  • CSS 9.6%
  • Ruby 0.7%