Skip to content

Commit

Permalink
Merge pull request #44 from ebati/main
Browse files Browse the repository at this point in the history
*: fix forgotten renames from web to tclipd
  • Loading branch information
Erisa authored Jul 15, 2024
2 parents 99fc19f + 1519bcd commit 2084bbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ number of pastes.
3. `nix develop`

You can then test your changes to tclip by running `go run
./cmd/web` or `go run ./cmd/tclip` as appropriate.
./cmd/tclipd` or `go run ./cmd/tclip` as appropriate.

Note that for the first run of `./cmd/web`, you *must* set
Note that for the first run of `./cmd/tclipd`, you *must* set
either the `TS_AUTHKEY` environment variable, or run it with
`--tsnet-verbose` to get the login URL for Tailscale.

## Building for prod

The web server:
```
nix build .#web
nix build .#tclipd
```

The docker image:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.0",
"description": "tclip, the pastebin for tailscale",
"scripts": {
"start:css": "tailwindcss --watch -o cmd/web/static/css/base.css",
"build:css": "tailwindcss -o cmd/web/static/css/base.css"
"start:css": "tailwindcss --watch -o cmd/tclipd/static/css/base.css",
"build:css": "tailwindcss -o cmd/tclipd/static/css/base.css"
},
"dependencies": {
"@tailwindcss/forms": "^0.5.4",
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
content: ["./cmd/web/tmpl/*.html"],
content: ["./cmd/tclipd/tmpl/*.html"],
theme: {
colors: {
blue: {
Expand Down

0 comments on commit 2084bbb

Please sign in to comment.