Skip to content

Commit

Permalink
task: adjusting the copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni committed Feb 23, 2025
1 parent 9029a52 commit ca842b9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions start.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,30 @@ Once you have installed Go, you can proceed to generate your first projects
go run go.leapkit.com/tools/new@latest [project_name]
```

### Setup
Once the project is generated you can go into the project folder and run the following command:
Once the project is generated go into the project folder and download the dependencies with:

```sh
go mod download
```

This will install the necessary dependencies.

### Running the application
### Starting the application
Running the application will depend on the version of Go you have intalled for Go 1.23 you can run:

```sh
go run go.leapkit.com/tools/dev@latest
```

If you're using Go 1.24 you can set that as a tool in your `go.mod` file:
If you're using Go 1.24 set that as a tool in your `go.mod` file. First download the tool (only once).

```sh
# This will be needed once.
go get -tool go.leapkit.com/tools/dev
```

# Then every time you want to run the application
Then every time you want to run the application you can use the `go tool` shortcut to invoke the dev tool.

```sh
go tool dev
```

This will read the Procfile in the root of the folder and start the processes defined in it. Once the application is running it should be [accessible locally](http://localhost:3000).
The dev tool reads the Procfile in the root of the folder and start the processes defined in it. Once the application is running it should be [accessible locally](http://localhost:3000).

0 comments on commit ca842b9

Please sign in to comment.