Skip to content

Latest commit

 

History

History
86 lines (52 loc) · 2.12 KB

File metadata and controls

86 lines (52 loc) · 2.12 KB

Apache OpenServerless (incubating)

Welcome to Apache OpenServerless, an incubating project at the Apache Software Foundation

  • If you want to install Apache OpenServerless in cloud go here.
  • If you want to understand what this project is check the original proposal.
  • If you want to contribute to the project, read on this README to setup a development environment.
  • If you want to discuss with us, join our mailing list sending an email to dev-subscribe@openserverless.apache.org
  • If you want to locally install open serverless from sources test or development, read on.

Build and test from sources

Prerequisites

  • you need an Unix environment, either OSX, Linux or Windows WSL.
  • you need docker on the path
  • you need go available on the path
  • you need task (https://taskfile.dev) available in the path

Here the procedures for MacOS, Windows 11 and Ubuntu Linux

Prepare Mac

On Mac, install brew and Docker Desktop. then do

  • brew install task
  • brew install go

Prepare Windows

On windows,

  • install Docker Desktop then
  • wsl --install Ubuntu-24.04

then enable docker to be used in the distro Ubuntu-24.04

Access the distro (wsl -d Ubuntu-24.04 ) and run:

  • sudo snap install go --classic
  • sudo snap install task --classic

Prepare Ubuntu Linux

Install docker with

  • curl -sL get.docker.com | sudo bash
  • sudo usermod -aG docker $USER
  • newgrp

Then

  • sudo snap install go --classic
  • sudo snap install task --classic

Procedure

1. Get the sources

Clone all the modules and submodules recursively

git clone https://github.com/apache/openserverless --recurse-submodules

and enter in the folder

cd openserverless

2. Build

First clean everything

task clean

then build:

task build

This will

  • build the cli
  • build the operator image
  • build the runtimes

TODO: build the system actions and the streamer

  1. Tests

TODO: execute the test suite