The most popular little embedded web server.
The repository has several branches:
See LICENSE.md and https://www.embedthis.com/goahead/licensing.html for details.
See https://www.embedthis.com/goahead/doc/index.html.
You can build GoAhead with make, Visual Studio, Xcode or MakeMe.
The IDE projects and Makefiles will build with SSL using the MbedTLS TLS stack. To build with CGI, OpenSSL or other modules, read the projects/README.md for details.
make
or to see the commands as they are invoked:
make SHOW=1
You can pass make variables to tailor the build. For a list of variables:
make help
To run
make run
make
The make.bat script runs projects/windows.bat to locate the Visual Studio compiler. If you have setup your CMD environment for Visual Studio by running the Visual Studio vsvarsall.bat, then that edition of Visual Studio will be used. If not, windows.bat will attempt to locate the most recent Visual Studio version.
Open the solution file at:
projects/goahead-windows-default.sln
Then select Build -> Solution.
To run the debugger, right-click on the "goahead" project and set it as the startup project. Then modify the project properties and set the Debugging configuration properties. Set the working directory to be:
$(ProjectDir)\..\..\test
Set the arguments to be -v
Then start debugging.
Open the solution file:
projects/goahead-macosx-default.sln
Choose Product -> Scheme -> Edit Scheme, and select "Build" on the left of the dialog. Click the "+" symbol at the bottom in the center and then select all targets to be built. Before leaving this dialog, set the debugger options by selecting "Run/Debug" on the left hand side. Under "Info" set the Executable to be "goahead", set the launch arguments to be "-v" and set the working directory to be an absolute path to the "./test" directory in the goahead source. The click "Close" to save.
Click Project -> Build to build.
Click Project -> Run to run.
This build approach is only recommended for Linux and MacOS. Windows support is limited.
To install MakeMe, download it from https://www.embedthis.com/makeme/.
./configure
me
For a list of configure options:
./configure --help
me run
If you have built from source using Make or MakeMe, you can install the software using:
sudo make install
or
sudo me install
sudo make uninstall
or
sudo me uninstall
me test
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型