Skip to content

Instantly share code, notes, and snippets.

@DrayChou
Created December 19, 2013 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrayChou/8033658 to your computer and use it in GitHub Desktop.
Save DrayChou/8033658 to your computer and use it in GitHub Desktop.
创建新的 beego 项目脚本
@echo 设置APP的值为您的应用文件夹名称
set APP=BeeGoTo
set GOPATH=%~dp0..
set BEE=%GOPATH%\bin\bee
%BEE% new %APP%
cd %APP%
echo %BEE% run %APP%.exe > run.bat
echo pause >> run.bat
start run.bat
pause
start http://127.0.0.1:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment