Documentation
Start here
Guided lessons from a fresh download to a running website, and from an application of your own to a package you share. Every step shows the output you should see.
Nextweb is one program that runs web applications. It brings its own web server, language runtimes, and database, so there is no server stack to assemble first. We drive it from its own shell.
Each lesson ends with something running on your screen. The output on every page is copied from a run of the lesson, so you can check your screen against it as you go.
What we need
- A Linux x64 computer with a web browser. Use your own desktop or laptop, because the finished website opens on that machine.
- A terminal window with
curl, which most Linux systems already have. - An internet connection. Nextweb downloads itself and the software it installs.
- An email address. Nextweb asks for one the first time it starts, so it can issue your free license.
- About fifteen minutes for each lesson.
- For the last chapter of the second lesson, a second computer running Nextweb, which joins an organization. Without one, read that chapter along.
There's nothing to install beforehand and no payment to make. Nextweb keeps everything it installs inside one folder that we choose.
Lessons
3 chapters · about 12 minutes
Run an application
Install Nextweb, add WordPress, and deploy a website you can open in your browser.
- 1 Open Nextweb about 3 minutes
- 2 Install software about 3 minutes
- 3 Deploy a website about 6 minutes
4 chapters · about 13 minutes
Package an application
Turn a small application of your own into a Nextweb package, deploy it, and share it.
- 1 Create an application about 4 minutes
- 2 Build it and install it about 3 minutes
- 3 Deploy your application about 2 minutes
- 4 Share your package about 4 minutes
Behind the commands
What Nextweb does when you run the commands from the lessons.
- How a deploy works What deploy, commit, apply, and verify each do, using a WordPress site as the example.
- Your application on Nextweb What a Node.js application is given when Nextweb runs it: its address, a folder for its files, and a log.
- The .nextwebrc file Every field of .nextwebrc, what a build always leaves out, and .nextwebignore.