> For the complete documentation index, see [llms.txt](https://andygrond.gitbook.io/hugonette/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andygrond.gitbook.io/hugonette/basic-usage/installation.md).

# Installation

You must have [Composer](https://getcomposer.org/) installed on your local machine. Then choose a name for your project folder (let it be `myblog`). Common practice is to place it outside DocumentRoot for security. From a command tool run:

```
composer create-project nette/web-project myblog
```

Then go into the project folder. Install Hugonette:

```
cd myblog
composer require andygrond/hugonette
composer update
```

### **Adaptations for Hugonette**

Take a look at your project folder. If you are working on Linux or macOS, make `log` and `temp` folders writable.&#x20;

Now find some example files in the `vendor/Andygrond/hugonette/doc/install` folder of the Hugonette project. You can also find it [on GitHub.](https://github.com/Andygrond/hugonette)

Replace the entire `app` folder with `install/app` folder of Hugonette and the entire `www` (or your DocumentRoot folder) with `install/www`. Here you will find:

* `.htaccess` here you can configure Apache httpd to your specific needs.&#x20;
* `index.php` will be the entry point for any request. By modifying this 2 files you can change the project name, path and do whatever pops into your head to adapt Hugonette to your existing project. It's very flexible, so if you have a question like "will it be possible" the answer is probably: YES!
* `static` -- put your static files here.

### **Design**

Nowadays we use AI to design for us simple and beautiful pages, making the necessary changes in a text editor – preferably VS Code, which also has an AI-powered tool. If your project is larger, you can choose the Hugo environment to prepare some static pages for your project. If you prefer, you can take advantage of another tool. Either way, you need to provide static content for your project.

If you decide to give Hugo a chance, go to [HUGO](/hugonette/hugo/hugo-quick-start.md) section for starting advices.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://andygrond.gitbook.io/hugonette/basic-usage/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
