javierm on verification_info
Extract component to render ver… Don't ask verified users to ver… Show verification info only if … and 3 more (compare)
javierm on permission_list_accessibility
Extract component to render acc… Extract method to define permis… Render icons using CSS in user … and 1 more (compare)
javierm on verification_info
Extract component to render ver… Don't ask verified users to ver… Show verification info only if … and 3 more (compare)
javierm on permission_list_accessibility
Extract component to render acc… Extract method to define permis… Render icons using CSS in user … and 1 more (compare)
javierm on verification_info
Don't use line-height to set ve… (compare)
javierm on permission_list_accessibility
javierm on verification_info
Extract component to render acc… Extract method to define permis… Render icons using CSS in user … and 6 more (compare)
Hello,
I’m trying to upload offline votes during the “Reviewing voting” phase of a participatory budgeting.
According to the Consul Administration Guide
(page 40), I was expecting to have an interface with an input for each option. But what I am getting is a very basic form with a "CSV data field", for which I’ve been unable to find any documentation about.
Here comes my first question: Is there any documentation I can check for this part? Is this CSV data upload the expected interface?
Just in case the CSV upload is the only way of uploading the offline votes, I’ve been checking the code trying to understand how the CSV data field works. If I understood properly, each line would be a vote, and it would consist of a comma-separated list of project code numbers. Is this correct?
I tried to upload the votes in this format, but the total count votes of the projects didn’t change. What am I missing?
Thanks in advance for the help!
I am follwing these steps here.
Once these ---> https://docs.consulproject.org/docs/english-documentation/introduction/local_installation/ubuntu
Than these --->https://docs.consulproject.org/docs/english-documentation/introduction/local_installation
This is the error that I have now ... while i write te bundle command and gives me this error ? Is there something wrong ?
# Install development dependendencies
sudo apt update
sudo apt install git # It's included by default in Jammy
sudo apt install libssl-dev autoconf bison build-essential libyaml-dev libreadline-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev cmake
# Installing and configuring PostgreSQL
sudo apt install postgresql libpq-dev
sudo systemctl status postgresql.service
sudo -u postgres createuser consul --createdb --superuser --pwprompt
sudo vi /etc/profile.d/lang.sh
# /etc/profile.d/lang.sh: Add the following to the new file
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
sudo vi /etc/postgresql/14/main/pg_hba.conf
# Database administrative login by Unix domain socket
local all postgres trust
sudo su - postgres
psql
update pg_database set datistemplate=false where datname='template1';
drop database Template1;
create database template1 with owner=postgres encoding='UTF-8'
lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
update pg_database set datistemplate=true where datname='template1';
\q
exit # exit the postgres user
sudo systemctl restart postgresql.service
# Install some dependencies
sudo apt install imagemagick chromium-chromedriver nodejs
sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/
# Clone CONSUL repository
git clone https://github.com/consul/consul.git
cd consul/
# Installing RVM
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm
sudo usermod -a -G rvm $USER
# Destroy and start a new terminal session so RVM is properly loaded
cd consul/
# Install openssl 1-.0.1 https://github.com/rvm/rvm/issues/5209#issuecomment-1186893261
rvm pkg install openssl
# Installing the Ruby CONSUL version with RVM
rvm install ruby-2.7.6 --with-openssl-dir=/usr/share/rvm/usr
# Install application dependencies
bundle
# If you have troubles with Rails assets certificates edit the Gemfile and replace https://rails-assets.org with http://insecure.rails-assets-org and try to bundle again
# Copy mandatory configuration files with defaul values
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
# Edit the config/database.yml file and set the default group as follows (Note removal of host, otherwise you will have a Segmentation fault bug)
default: &default
adapter: postgresql
encoding: unicode
pool: 5
username: postgres
password:
# Build test and development databases
bin/rake db:create
bin/rake db:setup
bin/rake db:dev_seed
bin/rake db:test:prepare
bin/rails s