Differences between revisions 8 and 9
Revision 8 as of 2021-10-10 08:16:04
Size: 1230
Editor: Praveen A
Comment: app starts now after copying source tree to /var and running assets precompile there
Revision 9 as of 2021-10-10 08:18:51
Size: 1360
Editor: Praveen A
Comment: add debconf to todo
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
 1. Properly generate keys and remove hard coding - not started
 1. Setup debconf for choosing hostname and https - not started

Pupilfirst (https://www.pupilfirst.com/) is a Free Software Learning Management system written in Ruby on Rails. Currently they only support deploying to heroku. This page will be used to keep track of packaging pupilfirst for Debian.

Work in progress Repo: https://salsa.debian.org/ruby-team/pupilfirst

Packaging status : https://debian.fosscommunity.in/status/pupilfirst-8ad21ec3642415c0bbc40a432ed8abfddcf76471/

Reference: Teams/Ruby/Packaging/RailsApps

Current status

  1. Basic package template - done
  2. Install rubygems dependencies (pull unpackaged gems from rubygems.org) - done
  3. Configure database - in progress (need to provide a working config/database.yml)
  4. Run database migrations - done (https://github.com/pupilfirst/pupilfirst/issues/797)

  5. Install node dependencies - done (needed some symlink magic)
  6. Precompile assets (includes webpacker) - done (needed to copy source tree to /var as symlinking some directories don't work)
  7. Start rails app - done (use local storage over amazon s3, create tmpfiles.d config for pids and sockets, need to disable https)
  8. Configure puma - not started
  9. Configure nginx - not started
  10. Configure systemd units - not started
  11. Properly generate keys and remove hard coding - not started
  12. Setup debconf for choosing hostname and https - not started