Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements:

  • Golang
  • Godoc
  • Swaggo/swag
  • Makefile
  • Tailwind standalone CLI
  • Node for @storybook/server-webpack5, and for webpack
  • Git bash or simillar (to build, and for some other commands too)

How to:

First time running after clone

  • make dep
  • make storybook-dep
  • make webpack-dep

Run development mode

  1. In one CMD do: (tailwind, with live reload)
    • make tailwind-watch
  2. In a second CMD do: (storybook)
    • make storybook
  3. In a third CMD do: (webpack, with live reload)
    • make webpack-watch
  4. In a fourth CMD do: (server, with live reload)
    • air
  5. In a fifth CMD do: (go docs)
    • make docs
  6. In a sixth CMD do: (swagger ui)
    • make swag

Alternative for running in development mode

  • In case you don't mind the output being all mixed, you can run all commands above at once using:
    • go run ./dev-script

Compile for production mode

  • make build
  • (copy the files needed to another directory)
  • make clean

About

A repository where I test several golang packages that I like to use in my stack, and even some programming practices and patterns.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages