Hello everyone--
I have created a DEB package of the current version 6.0 for installation on
Debian-13, and added it to the release.
To set up a production site:
Prerequisites:
- a vanilla Debian-13 server instance with internet access (e.g. on AWS EC2)
- a DNS A-entry for that server instance
To install Eden, login to the server, and make yourself root (sudo su -), then
download and install the package:
cd /tmp
wget
https://github.com/sahana/eden/releases/download/6.0/sahana-eden_6.0-1_all.deb
apt-get update
apt-get install -f sahana-eden_6.0-1_all.deb
To configure Eden, you can use the edenctl script:
edenctl setup
Enter the instance details as prompted for, and eventually start the instance:
edenctl start
---
To remove the installation:
edenctl teardown
apt-get remove sahana-eden
---
Note that this is an alpha-version, far from perfect - there may still be some
quirks and missing options. The idea is to eventually make this the standard
distribution package as part of each release.
Edenctl, as the main sysadmin tool, will replace all the service scripts we
used to have in production instances. Currently it can set up, reset and tear
down an instance, as well as starting/stopping the site, and run the simple
compile and migrate cycles. No "pull" option as-yet.
I will publish the sources for building that package onto GitHub...that is,
once I have cleaned it up and converted it into a git repo, so maybe not today
;) don't hold your breath. I will also document it all on the wiki, as soon as
I find the time.
Also note that running web2py-2.27.1 on Trixie with Python-3.13 will produce
tons of syntax warnings (invalid escape sequences). This does not prevent it
from running as intended, but it looks ugly. But, as we're going to move to
web2py-3 anyway once we drop support for Debian-11, I'm not going to fix those
warnings now.
A good next step will be to also convert our GADM imports (=administrative
areas) into per-country DEB-packages, so that they can be distributed
alongside the Eden package. Those post-setup imports are essential for many
use-cases, so it would be almost pointless to set up an instance without at
least one of these.
In any case - if you want to trial this DEB-package, please do. Feedback is
welcome, but of course fixes and enhancements are even more welcome (as usual).
Best wishes,
Dominic