go-gitignore

command module
v0.0.0-...-1556139 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 8 Imported by: 0

README


Generate .gitignore files for your project



What's it ???

go-gitignore is a web app designed to help you create .gitignore files for your Git repositories written in Go. Inspired by gitignore.io. It's lightweight version of gitignore.io, no jQuery, no Bootstrap, no Swift and no Vapor.

How to run app locally ?

Before you get started make sure you have an up-to-date version of Go and Node, on macOS with Homebrew installed you can run :

$ brew install node
$ brew install go

After that you can run:

$ go get -d github.com/nurlansu/go-gitignore
$ cd $GOPATH/src/github.com/nurlansu/go-gitignore

Now we can install all necessary node modules :

$ npm install

To build front-end stuff, you should run:

$ npm build

And at the end you can run the app using this command:

$ go run main.go

And that's all. Normally you could see the app running on http://localhost:8080

Dependencies

This app uses httprouter for routing. You can make it work without, by changing 3-4 lines of code, but I like the way httprouter routes request.

Demo

The live version can be found on https://go-gitignore.herokuapp.com/

Thanks

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL