goahead ajax json,GitHub - shanzei/goahead: GoAhead Web Server

Embedthis GoAhead Community Edition

The most popular little embedded web server.

Branches

The repository has several branches:

master - Most recent release of the software.

dev - Current ongoing development.

X.X - Archived prior release branches for maintenance.

Licensing

Documentation

Building from Source

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.

To Build with Make

Linux or MacOS

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

Windows

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.

To Build with Visual Studio

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.

To Build with Xcode.

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.

To build with MakeMe

To install MakeMe, download it from https://www.embedthis.com/makeme/.

./configure

me

For a list of configure options:

./configure --help

To run

me run

To install

If you have built from source using Make or MakeMe, you can install the software using:

sudo make install

or

sudo me install

To uninstall

sudo make uninstall

or

sudo me uninstall

To test

me test

Resources

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值