Skip to content

Commit 0efe50e

Browse files
committed
need to fix ionicos
1 parent 19af322 commit 0efe50e

File tree

4,156 files changed

+147
-63623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,156 files changed

+147
-63623
lines changed

sample-kanban-go/.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-kanban-go/.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-kanban-go/.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-kanban-go/.idea/sample-kanban-go.iml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-kanban-go/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample-kanban-go/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,22 @@ purposes using [TestContainers][testcontainers]
1515
- [alpine.js 3.14][alpinejs]
1616
- [testify 1.9][testify]
1717
- [godotenv 1.5][godotenv] to simplify configuration
18+
- a recent version of [npm][npm]
1819
- and of course [testcontainers for go][go-testcontainers]
1920

2021
Make sure you have $HOME/go/bin in your $PATH.
2122

2223
## How to build
2324

25+
You need npm deps to be installed at least once:
26+
27+
```bash
28+
cd app/static
29+
npm i
30+
```
31+
32+
Then go with a regular golang build:
33+
2434
```bash
2535
go build .
2636
```
@@ -77,7 +87,8 @@ go run main.go
7787
serve unversioned frontend libraries. In jvm version there where
7888
[webjars][webjars], in node version we served versioned libraries directly
7989
from [node_modules][node_modules], but nothing similar is available for go
80-
projects by the time of this writing.
90+
projects by the time of this writing. A minimal node project was provisioned
91+
inside the static folder.
8192
- Note that `//go:embed static` and `// go:embed static` are not the same thing.
8293
- There is a tool called [air][air] that delivers similar experience on go
8394
projects that [nodemon][nodemon] delivers on node projects. It's completely
@@ -111,3 +122,4 @@ go run main.go
111122
[nodemon]: https://nodemon.io/
112123
[range]: https://gobyexample.com/range
113124
[because]: https://github.com/robpike/filter
125+
[npm]: https://npmjs.org

0 commit comments

Comments
 (0)