Getting Started

PocoCMS lets you start a website in just a few seconds.

Before we go there, make sure you can:

Besides those things you won't need any other knowledge. These directions guide you through everything you need to know step by step. OK, time to build a website in exactly one second more than it takes to read these directions!

Create a site

That directory will contain all the files you need to generate your site. In this documentation it's called your project or site. They're usually synonomous.

You'll type poco -new followed by the directory name, like this:

poco -new mysite

Poco responds instantly that the site has been created:

Site published to /Users/tom/pococms/poco/mysite/WWW/index.html
cd mysite
poco -serve
Web server running at:

http://localhost:54321

To stop the web server, press Ctrl+C

You'll see what you've created:

Default home page created by PocoCMS

View the files PocoCMS created

Let's take a look at what poco -new just generated. Get a directory listing. It will appear something like this:

WWW
.poco
index.md

We'll explain the WWW and .poco directories in a few moments.

---
title: "Powered with ♥ by PocoCMS"
---
# Welcome to mysite

hello, world.

Learn more at [PocoCMS tutorials](https://pococms.com/docs/tutorials.html) 

Notice there's a directory called WWW. Examine its contents.

Directory: WWW
.
โ”œโ”€โ”€ WWW
โ”‚   โ””โ”€โ”€ index.html
โ”œโ”€โ”€ .poco
โ””โ”€โ”€ index.md

It generated the file index.html from the contents of index.md. Later when you add a theme the output will also include CSS files and other assets required when the browser renders your site.

Previous: Getting started Next: Edit the page