Skip to content

Drippy's Cloud component: a back-end web server for various API endpoints.

Notifications You must be signed in to change notification settings

drippy-iot/cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drippy Cloud

Environment Variables

Name Description Required Default
PG_URL PostgreSQL connection string.
PORT Network port to bind to when listening for new connections.
RUST_LOG Log verbosity level. See the env_logger crate documentation. error
RUST_LOG_STYLE Whether to enable ANSI colors in the output. See the env_logger crate documentation. auto

Automation Scripts

To automate common tasks, we use the Just task runner. See the documentation for more information.

# Create the `/data` folder and start the database daemon in one step.
just init

# This is equivalent to running these two tasks.
just initdb
just db
# Initialize and instantiate the template in one step.
just instantiate

# This is equivalent to running these two tasks.
just template
just create
# Connect to the database using a `psql` shell.
just shell
# Drop the instantiated database and recreate a new one from the template.
just respawn

# This is equivalent to running these two tasks.
just drop
just create
# Nuke the entire `/data` folder and reinitialize it.
just reset

# This is equivalent to running these two tasks.
just nuke
just init

About

Drippy's Cloud component: a back-end web server for various API endpoints.

Topics

Resources

Stars

Watchers

Forks