> 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.
