Binary¶
Canaille provides a ready-to-use single file executable for Linux. The binary installation is the easiest way to get a production-ready Canaille release, though this is not the most customizable. This is generally the recommended method to use Canaille in production.
$ wget https://github.com/yaal-coop/canaille/releases/download/0.2.7/canaille -o canaille
$ chmod +x canaille
Note
Canaille binaries comes with lesser performances than other installation methods on startup. This is generally not an issue, since Canaille is used as a long-running service, but if this is important for you, you might want to choose another installation method.
Then you can run the Canaille web service with:
$ ./canaille run
Install¶
The install command will apply most of the things needed to get Canaille working. Depending on the configured database it will create the SQL tables, or install the LDAP schemas for instance.
$ ./canaille install
Check¶
After installation, you can test the network parameters in your configuration file using the config check command.
It will attempt to connect your SMTP server, or your SMPP server if defined.
$ ./canaille config check
Create the first user¶
Once canaille is installed, soon enough you will need to add users. To create your first user you can use the canaille create CLI.
$ ./canaille create user \
--user-name admin \
--password admin \
--emails admin@mydomain.example \
--given-name George \
--family-name Abitbol \
--formatted-name "George Abitbol"