Skip to content

chouzar/cochito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published