Giter Site home page Giter Site logo

Comments (5)

syrusakbary avatar syrusakbary commented on May 5, 2024 9

Wasmer can now run nginx successfully!

Steps to run Nginx locally

  1. Get latest verison of wasmer
curl https://get.wasmer.io -sSfL | sh
  1. Download the nginx example
git clone https://github.com/wasmerio/wasmer-nginx-example.git
cd wasmer-nginx-example
  1. Run nginx with wasmer
wasmer run nginx.wasm -- -p . -c nginx.conf

Nginx is now running! 🎉

Now you should be able to access: http://localhost:8080/ from your browser

screen shot 2018-12-06 at 8 27 41 pm

Notes

We are working on containerization, so steps 2 and 3 will be much simpler in future releases.

from wasmer.

lachlansneff avatar lachlansneff commented on May 5, 2024 2

We're still working on getting nginx.wasm to run. There are quite a few apis that we need to implement first. I'm guessing the illegal instruction error you're getting is the wasm trapping somewhere because the mocked apis aren't returning right.

from wasmer.

rauchg avatar rauchg commented on May 5, 2024 2

@lachlansneff makes sense! I went by the homepage. Thank you

from wasmer.

appcypher avatar appcypher commented on May 5, 2024 1

Related PR #27

from wasmer.

syrusakbary avatar syrusakbary commented on May 5, 2024

While we merged #27, there is still some work in progress that we need to do in order to have nginx fully running.
We are super close though :)

from wasmer.

Related Issues (20)

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.