🤗 Hugs - Platform for Static Sites. Made with ❤️ by OctoLab.
HTML CSS JavaScript Makefile SQLPL Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
etc
site
.env
.gitignore
LICENSE
Makefile
README.md
docker-compose.yml

README.md

Hugs Tweet

Analytics Platform for Static Sites.

Patreon License

Quick start

Requirements:

  • Docker 18.03.1-ce or above
  • Docker Compose 1.21.1 or above
  • GNU Make 3.81 or above
$ git clone git@github.com:octolab/hugs.git
# git clone git@bitbucket.org:kamilsk/hugs.git
$ cd hugs
$ make up demo status

     Name                    Command               State                    Ports
---------------------------------------------------------------------------------------------------
hugs_click_1      click run --with-profiler  ...   Up      80/tcp, 8090/tcp, 8091/tcp
hugs_database_1   docker-entrypoint.sh postgres    Up      5432/tcp
hugs_forma_1      form-api run --with-profil ...   Up      80/tcp, 8090/tcp, 8091/tcp
hugs_hugo_1       /bin/sh -c hugo server --b ...   Up      1313/tcp
hugs_passport_1   passport run --with-profil ...   Up      80/tcp, 8090/tcp, 8091/tcp
hugs_server_1     /bin/bash -c echo $BASIC_U ...   Up      0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp

$ make help
# up:              Builds, (re)creates, starts, and attaches to containers for a service.
#
# clean:           Removes stopped service containers.
#
# status:          List containers and their status.
#
# down:            Stops containers and removes them with networks.
#
# destroy:         Stops containers and removes them with networks, volumes, and images
#                  created by `up`.
#                  ---
# services:        Shows available services.
#
# up-$(1):         Builds, (re)creates, starts, and attaches to a container of the service $(1).
#                  For example `make up-server`. See `make services`.
#
# enter-$(1):      Enter to a running container of the service $(1).
#                  For example `make enter-server`. See `make services`.
#
# start-$(1):      Start an existing container of the service $(1).
#                  For example `make start-server`. See `make services`.
#
# restart-$(1):    Restart a running container of the service $(1).
#                  For example `make restart-server`. See `make services`.
#
# stop-$(1):       Stop a running container of the service $(1) without removing them.
#                  For example `make stop-server`. See `make services`.
#
# log-$(1):        View output from a container of the service $(1).
#                  For example `make log-server`. See `make services`.
#                  ---
# psql:            Connect to the database with psql.
#
# refresh-nginx:   Sync configurations, process them and reload nginx.
$ open https://127.0.0.1.xip.io/
$ open https://click.127.0.0.1.xip.io/
$ open https://forma.127.0.0.1.xip.io/
$ open https://passport.127.0.0.1.xip.io/

Related projects

Hugs blocks GitHub Bitbucket Docker Hub Quay Brew
Click! + + + + kamilsk/tap/click
Forma + + + + kamilsk/tap/form-api
Passport + + + + kamilsk/tap/passport
Hugs tools
check + + - - kamilsk/tap/check
retry + + - - kamilsk/tap/retry
semaphore + + - - kamilsk/tap/semaphore
Misc
kamilsk/nginx + + + + -
kamilsk/hugo + + + - -

Gitter @kamilsk @octolab

made with ❤️ by OctoLab