Skip to content

The goal is to speed up the Scaffolding process for user, and get their application up and running in Gramine as fast as possible.

License

Notifications You must be signed in to change notification settings

piotrpalcz/ScaffoldingForGramine

 
 

Repository files navigation

Scaffolding for Gramine

Quick start (build from source)

Debian 12, Ubuntu 23.04

# sudo apt-get update && sudo apt-get install devscripts # if you didn't already
sudo apt-get build-dep .
debuild
sudo apt-get install ../gramine-scaffolding_*.deb
scag-quickstart

Debian 11

# sudo apt-get update && sudo apt-get install devscripts # if you didn't already
sudo apt-get build-dep . -t bullseye-backports
debuild
sudo apt-get install ../gramine-scaffolding_*.deb
scag-quickstart

Install into venv (for other distros, esp. for Ubuntu older than 23.04)

Unlike previous instructions, which build and install Scaffolding for all users in the system, this stanza installs the project into python's virtual environment. Those work only for single user, and either: - each time you restart your shell, you need to source the activate script

again; or
  • call the binaries by their full path (e.g., .venv/bin/scag-build); or
  • add venv's bin/ directory to $PATH environment variable.

First, install gramine as described in https://gramine.rtfd.io/en/stable/installation.html#install-gramine-packages

Then:

sudo apt-get install python3-pip
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install .
scag-quickstart

Development (editable install into virtualenv)

sudo apt-get install python3-venv
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install --editable .
scag-quickstart

About

The goal is to speed up the Scaffolding process for user, and get their application up and running in Gramine as fast as possible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 79.9%
  • Jinja 19.1%
  • Shell 1.0%