https://github.com/zdavatz/ydim
ywesee distributed invoice manager
https://github.com/zdavatz/ydim
Last synced: 8 months ago
JSON representation
ywesee distributed invoice manager
- Host: GitHub
- URL: https://github.com/zdavatz/ydim
- Owner: zdavatz
- License: gpl-2.0
- Created: 2015-10-29T13:30:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T07:14:43.000Z (over 2 years ago)
- Last Synced: 2025-10-17T18:03:19.535Z (8 months ago)
- Language: Ruby
- Size: 152 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: History.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
# ydim
* https://github.com/zdavatz/ydim.git
## DESCRIPTION:
ywesee distributed invoice manager, Ruby
## Install Ruby
* git clone https://github.com/rbenv/rbenv.git ~/.rbenv
* echo 'eval "$(~/.rbenv/bin/rbenv init - bash)"' >> ~/.bashrc
* git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
## Install Postgresql
```
* sudo apt-get install postgresql-10 postgresql-contrib-10
* wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
* sudo echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/postgresql-pgdg.list > /dev/null
* sudo apt-get install postgresql-10
* sudo -u postgres psql -c 'create role ydim;'
* sudo su
* su - postgres
* dropdb ydim
* createdb ydim
* -> check DB
* psql
* \l
* bzcat 22:00-postgresql_database-ydim-backup.bz2 | sudo -u postgres psql -p 5433 ydim
```
## INSTALL:
* gem install ydim
If you have a non standard path of postgres use something like
* gem install pg -- --with-pg-config=/usr/local/pgsql-10.1/bin/pg_config
Or if you are using bundler
* bundle config build.pg --with-pg-config=/usr/local/pgsql-10.1/bin/pg_config
* bundle install
## Migrating an old database
An old database can be migrated to UTF-8 by calling
bundle install --path vendor
bundle exec bin/migrate_to_utf_8
## DEVELOPERS:
* Masaomi Hatakeyama
* Zeno R.R. Davatz
* Hannes Wyss (up to Version 1.0)
* Niklaus Giger (ported to Ruby 2.3.0)
## LICENSE:
* GPLv2