File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 11# Godemon
2- ### Now, using Godemon you can use live reload on your apps.
2+
3+ ### What do you have to install before using ` godemon ` :
4+ 1 . Go compiler,
5+ 2 . Git,
6+ 3 . Wget ( if you're using linux )
37
48### How to use it?
59First of all you need to build your version:
610` cd ./godemon/ `
711` go build `
812
13+ ### Using default ` ./godemon `
914Now you can move file ` godemon ` to folder with your go project and
1015start it using command: ` ./godemon <fileOrDir> <fileOrModule> ` .
1116In first argument you're giving godemon the path to project, and in second
1217argument you're choosing is it simple go file or go module - if module pass
13- argument - ` mod ` , if file pass argument - ` file `
18+ argument - ` mod ` , if file pass argument - ` file `
19+
20+ ### Installing ` godemon ` with ` installer.sh `
21+ 1 . ` wget https://github.com/nProgrammer/godemon/releases/download/1.0.0/installer.sh `
22+ 2 . ` sudo chmod 777 ./installer.sh `
23+ 3 . ` ./installer.sh `
24+
25+ ### Installing ` godemon ` from source code
26+ 1 . Download source code from releases or use ` git clone https://github.com/nProgrammer/godemon `
27+ 2 . ` cd ./godemon `
28+ 3 . ` go build `
29+ 4 . ` sudo cp godemon /bin/godemon `
30+
31+ ### Installing ` godemon ` from ` godemon.exe `
32+ 1 . Download ` godemon.exe `
33+ 2 . Add path to ` godemon.exe ` to system PATH
You can’t perform that action at this time.
0 commit comments