52 lines
1.9 KiB
Markdown
52 lines
1.9 KiB
Markdown
# Ayuntamiento de Madrid (Madrid city's government) eParticipation application
|
|
|
|
[](https://travis-ci.org/AyuntamientoMadrid/participacion)
|
|
[](https://codeclimate.com/github/AyuntamientoMadrid/participacion)
|
|
[](https://gemnasium.com/AyuntamientoMadrid/participacion)
|
|
[](https://coveralls.io/github/AyuntamientoMadrid/participacion?branch=master)
|
|
|
|
This is the opensource code repository of Madrid City government eParticipation website
|
|
|
|
## Current state
|
|
|
|
Development started on [2015 July 15th](https://github.com/AyuntamientoMadrid/participacion/commit/8db36308379accd44b5de4f680a54c41a0cc6fc6)
|
|
|
|
The project is in its early stages. Features currently present in the code (and their names) are subject to change.
|
|
|
|
## Tech stack
|
|
|
|
The application backend is written in the [Ruby language](https://www.ruby-lang.org/) using the [Ruby on Rails](http://rubyonrails.org/) framework.
|
|
|
|
Frontend tools used include [SCSS](http://sass-lang.com/) over [Foundation](http://foundation.zurb.com/) for the styles.
|
|
|
|
## Configuration for development and test environments
|
|
|
|
Prerequisites: install git, Ruby 2.2.2, bundler gem and PostgreSQL.
|
|
|
|
```
|
|
cd participacion
|
|
bundle install
|
|
cp config/database.yml.example config/database.yml
|
|
cp config/secrets.yml.example config/secrets.yml
|
|
bundle exec bin/rake db:setup
|
|
RAILS_ENV=test bundle exec rake db:setup
|
|
```
|
|
|
|
Run the app locally:
|
|
```
|
|
bundle exec bin/rails s
|
|
```
|
|
|
|
Run the tests with:
|
|
```
|
|
bundle exec bin/rspec
|
|
```
|
|
|
|
## Licence
|
|
|
|
Code published under MIT license (see [MIT-license.md](MIT-license.md))
|
|
|
|
## Contributions
|
|
|
|
See [CONTRIBUTING_EN.md](CONTRIBUTING_EN.md)
|