Code Monkey home page Code Monkey logo

goth.stack's Introduction

goth

GOTH Stack

Go + Templates + HTMX

Deploy on Railway

Stack:

  • Backend: Golang + Echo
  • Rendering: Golang templates
  • Style: TailwindCSS + DaisyUI (No JS Needed)
  • Content format: Markdown

Requirements:

  • Golang 1.22.0
  • macOS or Linux

Note to Windows users: This will NOT run in CMD or Powershell. Please use WSL, a Linux VM, or Docker to run this. No development effort will be made to support windows and no PRs to add support will be accepted.

Instructions:

  1. Run go get
  2. Duplicate the .env.example file and call it .env
  3. Fill out the .env values
  4. Run go install github.com/cosmtrek/air@latest to download Air for live reload
  5. Run air to start the dev server

Tests

Without Coverage: go test goth.stack/lib With Coverage: go test goth.stack/lib -cover

goth.stack's People

Contributors

atridadl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

goth.stack's Issues

๐ŸžBug: App not starting from 'air'

Expected Behavior

After following the instructions to get the app running, the app should start normally

Current Behavior

When running the 'air' command the app returns an error as follows:
image

'.' is not recognized as an internal or external command,
operable program or batch file.
failed to build, error: exit status 1
running...
CMD will not recognize non .exe file for execution, path: \goth.stack\tmp\main > -ip 127.0.0.1 -port 3000

Possible Solution

there's a typo in the .air.toml file where under [build] > cmd the instruction is written like

cmd = "go build -o ./tmp/main . & cd lib/stylegen && ./gen.sh"
                              ^

needs to be corrected so that it shows the following

cmd = "go build -o ./tmp/main.exe & cd lib/stylegen && ./gen.sh"
                             ^

Steps to Reproduce

Follow the instructions

Context (Environment)

tryied on VS Code in windows 11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.