Skip to content

yuszuv/greenboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grünes Brett - Green Board

Demo at: https://greenboard-demo.sternprodukt.de

a board for everything hemp related

This is a side project. It is a board where you can post your offers/requests. You also can subscribe to updates (e.g. new entries).

This code is written using the incredible awesome gems of

I used this task to get used to this gems ... and I can truely recommend the developing experience :)

The application was set up using the Hanami 2 application template

TODO

[] expiring cards

... the remainder of this README is from the application template's one:

Docker development

To bootstrap and setup the app and its assets server, just run:

script/setup docker

To start the app:

docker-compose up app

Local development

Requirements

The scripts below require Homebrew and asdf installed, and asdf added to your shell.

If you prefer different tools, remove Brewfile and .tool-versions, and adapt the script/ files (mentioned below) to use your preferred tools.

Local setup

After cloning, run:

./script/bootstrap

Running supporting services

To start the supporting services, run:

./script/support

These must be running before completing the following steps.

Setup

After the supporting services have started, run:

./script/setup

After pulling changes

After pulling changes from the remote, run:

./script/update

Running the app

To run the app:

./script/server

This launches the application processes using overmind, which places each into a tmux session. You can connect to a specific process to interact with it (which is useful when using an interactive debugger inside the web process):

overmind c web

⚠️ To detatch from the tmux session, use the ctrl+b,d shortcut.