cowboy icon indicating copy to clipboard operation
cowboy copied to clipboard

Cowboy Getting Started guide - postscript about gitignore?

Open frou opened this issue 2 years ago • 2 comments

Hi there. Thanks for the library and the guide:

https://ninenines.eu/docs/en/cowboy/2.9/guide/getting_started/

After following that guide, we have a lot of files in the project directory. My suggestion is that the guide could include a postscript explaining that if we were to commit the result to git, what should be included and what should be gitignore'd.

hello_erlang $ git status
On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	.erlang.mk/
	Makefile
	_rel/
	config/
	deps/
	ebin/
	erlang.mk
	hello_erlang.d
	relx.config
	src/

frou avatar Oct 07 '21 12:10 frou

The only real temporary files are in .erlang.mk. The rest may be committed depending on your needs. Typically _rel, deps, ebin/ (except perhaps .app/.appup files) or the .d files are not committed.

essen avatar Oct 07 '21 13:10 essen

Got it, thank you. Obviously up to you if you feel it's appropriate for the guide :)

frou avatar Oct 07 '21 13:10 frou