Skip to content
Participatory Democracy platform of Vilanova i la Geltrú
Ruby HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
docker
lib
log
public
test
tmp
vendor/assets
.dockerignore
.gitignore
.ruby-version
Dockerfile.production
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
app.json
config.ru
docker-compose.yml
package.json
yarn.lock

README.md

README

Update Decidim

To update the Decidim installation on this project, first we update Gemfile dependencies, then we call the Decidim upgrade script and then we apply migrations (if any)

  • bundle update decidim decidim-dev
  • bin/rails decidim:upgrade
  • bin/rails db:migrate

Development

Development environment installation

  • Install development environment (Ruby 2.4+, PostgreSQL 9.4+). Check the following guide for instructions on different OS: https://gorails.com/setup/
  • Clone the repository: git clone git@github.com:vilanovailageltru/decidim-vilanova.git
  • cd decidim-vilanova
  • Install dependencies: bundle install
  • Setup database: bin/rails db:setup
  • Add fake data to the database: bin/rails db:seed
  • Launch development server: bin/rails server

More information can be found in the Decidim github repository: https://github.com/decidim/decidim

Testing emails in development

Decidim is using the letter_opener_web gem. To see all emails sent in the development environment you can do it by visiting the https://localhost:3000/letter_opener URL.

You can’t perform that action at this time.