Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.44 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.44 KB

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: