Git Product home page Git Product logo

whoerau / appweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ni-webtech/appweb-4

0.0 0.0 1.0 138.43 MB

Appweb Embedded Web Server

Home Page: http://embedthis.com/appweb

License: Other

Makefile 2.83% Batchfile 0.03% Roff 0.56% Shell 0.48% Ruby 0.01% JavaScript 0.30% Inno Setup 0.05% C 53.30% HTML 41.59% CSS 0.05% Perl 0.01% Python 0.01% Scilab 0.76% Perl 6 0.01% PHP 0.01% C++ 0.03% TypeScript 0.01%

appweb's Introduction

Embedthis Appweb Community Edition

Appweb is a compact, fast and secure web server for embedded applications. It supports HTTP/1 and HTTP/2 with a web server and HTTP client utility.

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

See LICENSE.md for details.

Documentation

See https://www.embedthis.com/appweb/doc/index.html.

Building from Source

You can build Appweb with make, Visual Studio, Xcode or MakeMe.

The IDE projects and Makefiles will build with ESP and 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

First open a Windows cmd prompt window and then set your Visual Studio environment variables by running vcvarsall.bat from your Visual Studio installation folder.

Then run a Windows cmd prompt window and type:

make

To Build with Visual Studio:

Open the solution file at:

projects/appweb-windows-default.sln

Then select Build -> Solution.

To run the debugger, right-click on the "appweb" 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/appweb-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 "appweb", set the launch arguments to be "-v" and set the working directory to be an absolute path to the "./test" directory in the appweb 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 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 Run:

The src/server directory contains a minimal appweb.conf suitable for production use without SSL. The test directory contains an appweb.conf that is fully configured for testing. When using the src/server/appweb.conf, change to the src/server directory to run. When using the test/appweb.conf, change to the test directory to run.

To Test:

Build with MakeMe and then:

./configure
me
me test

Resources

appweb's People

Contributors

mohitarora24 avatar moshekaplan avatar whoerau avatar wwoozz avatar

Forkers

heysir

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.