Skip to content
This is the repository for the code of Meta.Decidim community platform, we experiment with the new features, we are an experimental community
Ruby Other
  1. Ruby 98.5%
  2. Other 1.5%
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.
.circleci Update Circle config Jul 5, 2019
app Updated palette colors Apr 18, 2019
bin Initial commit Nov 9, 2017
config Set CET timezone Feb 14, 2019
db Update Decidim Sep 27, 2019
lib Initial commit Nov 9, 2017
log Initial commit Nov 9, 2017
public Initial commit Nov 9, 2017
spec Update decidim (#29) Aug 28, 2018
tmp Initial commit Nov 9, 2017
vendor Initial commit Nov 9, 2017
.dockerignore Fix deployment Nov 15, 2017
.gitignore Build image from Barcelona Nov 15, 2017
.ruby-version Update decidim Sep 24, 2019
Gemfile Update decidim Sep 24, 2019
Gemfile.lock Update Decidim Oct 8, 2019
Procfile Update latest 0.15 and use puma Nov 20, 2018
README.md Add badge Nov 10, 2017
Rakefile Initial commit Nov 9, 2017
app.json Update metadecidim to the latest master (0.12.0.pre) (#27) Jun 5, 2018
config.ru Initial commit Nov 9, 2017
package.json Initial commit Nov 9, 2017
update_decidim.sh Add update script Jan 29, 2019
yarn.lock Fix docker deployment Nov 9, 2017

README.md

metadecidim

CircleCI

Citizen Participation and Open Government application.

This is the open-source repository for metadecidim, based on Decidim.

Deploying the app

An opinionated guide to deploy this app to Heroku can be found at https://github.com/codegram/decidim-deploy-heroku.

Setting up the application

You will need to do some steps before having the app working properly once you've deployed it:

  1. Open a Rails console in the server: bundle exec rails console
  2. Create a System Admin user:
user = Decidim::System::Admin.new(email: <email>, password: <password>, password_confirmation: <password>)
user.save!
  1. Visit <your app url>/system and login with your system admin credentials
  2. Create a new organization. Check the locales you want to use for that organization, and select a default locale.
  3. Set the correct default host for the organization, otherwise the app will not work properly. Note that you need to include any subdomain you might be using.
  4. Fill the rest of the form and submit it.

You're good to go!

How to deploy

Deploy

  1. Use the "Deploy to Heroku" button
  2. Choose a name for the app, and organization and a tier
  3. Fill in the required env vars.
  4. Create the app
  5. Enable Review Apps for this app (you'll need to create a Pipeline)
You can’t perform that action at this time.