Skip to content
chouzarPublic

About

A basic gleam http server example.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

cochito

Package Version Hex Docs

To run the from localhost port 8088:

gleam run

To get precompiled erlang suitable for deployment:

gleam export erlang-shipment

If you want to test locally with DeployEx, run the following commands to create the release package:

export app_name=cochito
export release_path=erlang-shipment
cd build
tar -czvf ${release_path}/${app_name}-0.1.0.tar.gz ${release_path}
cp ${release_path}/${app_name}-0.1.0.tar.gz /tmp/${app_name}/dist/${app_name}
echo "{\"version\":\"0.1.0\",\"pre_commands\": [],\"hash\":\"local\"}" | jq > /tmp/${app_name}/versions/${app_name}/local/current.json

Architecture

Currently the whole server just sits as a single file at src/cochito.gleam, these are the main libraries being used:

About

A basic gleam http server example.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages