Start a Website

Learn how to create a website with Aurora.

Install Aurora

First, install Aurora:

pip3 install aurora-ssg

Create a Site

To create a new site, run the following command:

aurora new my-site
cd my-site

This will create a folder called my-site with everything you need to start your Aurora site.

There are two ways to run Aurora:

  • aurora build: This command builds your site into a folder called _site, which you can view on your file system.
  • aurora serve: This command builds your site and starts a local server at http://localhost:8000 on which your site will run. This is ideal for development.

To see your site locally, run:

aurora serve

This will start a local server at http://localhost:8000 on which your site will run.

A web page

When you are ready to publish your site, you can run:

aurora build

This will build your site into a folder called _site, which you can then upload to a web server.

You have started an Aurora website 🎉.

Next up: .