| Name | Modified | Size | Downloads / Week | 
|---|---|---|---|
| cclite2.0.1-8_all.deb | 2023-10-18 | 123.3 MB | |
| cclite2.0.1-8_rasbian.deb | 2023-10-18 | 123.4 MB | |
| README.md | 2022-03-22 | 2.7 kB | |
| Totals: 3 Items | 246.7 MB | 0 | 
Cclite2 March 2022
Debian Package Install
1. This is the easiest and the recommended way at the moment:
sudo apt install ./cclite2_0.1-6.deb
2. Answer the questions, Y for everything is the fullest and easiest installation
3. This script will take database name and password from /etc/cclite2/cclite2.conf created in the package install step. Registry is the name of the database, preferable related to your local group, which may contain several currencies.
sudo su postgres
/usr/share/cclite2/script/build/create-registry.pl
control-D
4. Modify pg_hba.conf in /etc/postgresql... to give your cclite2 user socket access to the database. This may not be necessary in the current release
5. There are two necessary installs currently, that need manual intervention,
sudo cpanm --force Net::AMQP::RabbitMQ
sudo apt install gammu-smsd
this will 'fail' on the systemd part but the binary will be installed. If you don't use SMS payment and SMS balance querying, you don't need this at all. Otherwise the script to start this is in /usr/share/cclite2/script:
gammu-smsd --config /etc/cclite2/gammu-smsdrc --pid /var/run/gammu-smsd.pid --daemon
this:
sudo sed -i 's|${CMAKE_INSTALL_FULL_BINDIR}|/usr/bin|g' /lib/systemd/system/gammu-smsd.service
should fix the systemd unit, see:  https://askubuntu.com/questions/1260261/how-do-i-remove-a-misbehaving-package-using-either-apt-or-apt-get
6. Run the development server:
sudo morbo -l "https://*:443?cert=/etc/cclite2/ssl/certs/cclite2-self-signed.crt&key=/etc/cclite2/ssl/certs/cclite2-self-signed.key" /usr/share/cclite2/script/cclite2
You should now be able to logon, using manager, with password manager you will be prompted to change the manager password immediately
7.  If you choose to use prove -lf  for testing be aware that it tears down the database pointed at in t/config.conf.
This version now has a direct install script here: sudo ./install.pl that is not well tested. It will do roughly what the package install will do. It is not working well on Centos either.
If you want to experiment with intertrading you will need rabbitmq: https://www.rabbitmq.com/install-debian.html#apt
We've chosen this, because it's stable and supports many of the pub/sub protocols. SOAP and cclite's registry <-> is gone 
as being clumsy, hard to debug and P2P only.  
The web templates are only in English, French and Spanish(machine translation, so imperfect) until spring 2021, they use Mojolicious EPL but there's much better separation of template and core, this time.
That's it, for the moment. Watch this space.