Coder Social home page Coder Social logo

ryanlerch / nuancier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fedora-infra/nuancier

0.0 3.0 0.0 35.47 MB

A light web application for voting on supplementary wallpapers of Fedora

License: GNU General Public License v2.0

Python 50.79% Mako 0.09% JavaScript 32.08% CSS 4.19% HTML 12.00% Shell 0.17% Ruby 0.69%

nuancier's Introduction

nuancier

http://shieldkins.elrod.me/fedora/nuancier

Author:Pierre-Yves Chibon <[email protected]>

Nuancier is a web-based voting application for the supplementary wallpapers of Fedora.

Get this project:

On github: https://github.com/fedora-infra/nuancier

Documentation: http://nuancier.rtfd.org

Dependencies:

This project is a Flask application. The calendars and meetings are stored into a relational database using SQLAlchemy as Object Relational Mapper (ORM). The application relies on Pillow to generate thumbnails of the pictures in order to increase the loading speed of the pages.

The dependency list is therefore:

Running a development instance:

You can either set up a development environment manually, or using Ansible with Vagrant.

Vagrant

The best way to set up a development enviroment is to use Vagrant. Vagrant provisions a new virtual machine and then runs the Ansible playbook on it automatically. To get started, install Vagrant:

$ sudo dnf install vagrant libvirt vagrant-libvirt vagrant-sshfs ansible

Next, clone the repository and copy the example Vagrantfile from Vagrantfile.example:

$ git clone https://github.com/fedora-infra/nuancier.git
$ cd nuancier
$ cp Vagrantfile.example Vagrantfile  # Edit Vagrantfile to your heart's content
$ vagrant up
$ vagrant reload
$ vagrant ssh

All done! The VM contains all the required dependencies pre-installed.

Manual

Clone the source:

git clone https://github.com/fedora-infra/nuancier.git

Create the database scheme:

python createdb.py

Run the server:

python runserver.py

You should be able to access the server at http://localhost:5000

Note

To tweak the configuration, you may either change default_config.py in the nuancier module, or copy the file utility/nuancier.cfg.sample into nuancier.cfg and run the application using:

NUANCIER_CONFIG=nuancier.cfg python runserver.py

Testing:

This project contains unit-tests allowing you to check if your server has all the dependencies correctly set.

To run them:

./runtests.sh

Note

To stop the test at the first error or failure you can try:

./runtests.sh -x

License:

This project is licensed GPLv2+.

nuancier's People

Contributors

pypingou avatar ralphbean avatar jenneh avatar jeremycline avatar shaguftamethwani avatar aavrug avatar relrod avatar cydrobolt avatar grdryn avatar 00willo avatar jochemkuijpers avatar miabbott avatar xsuchy avatar stickster avatar praveenkumar avatar sayanchowdhury avatar abadger avatar vatsala avatar vivekanand1101 avatar farhaanbukhsh avatar

Watchers

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