fcapobianchi/web-project

Nette: Standard Web Project


Keywords
nette
Licenses
MIT/BSD-3-Clause/GPL-2.0/GPL-3.0

Documentation

FCapobianchi Nette Web Project

This is a simple, skeleton application using the Nette. This is meant to be used as a starting point for your new projects.

Nette is a popular tool for PHP web development. It is designed to be the most usable and friendliest as possible. It focuses on security and performance and is definitely one of the safest PHP frameworks.

If you like Nette, please make a donation now. Thank you!

Requirements

  • Web Project for Nette 3.1 requires installed on your computer: Composer Node.js (which comes with npm) PHP >=7.4 MySQL

Installation

From your command line:

composer create-project fcapobianchi/web-project path/to/install
cd path/to/install
composer update
npm install
npm start

Make directories temp/ and log/ writable.

Web Server Setup

The simplest way to get started is to start the built-in PHP server in the root directory of your project:

php -S localhost:8000 -t www

Then visit http://localhost:8000 in your browser to see the welcome page.

For Apache or Nginx, setup a virtual host to point to the www/ directory of the project and you should be ready to go.

It is CRITICAL that whole app/, config/, log/ and temp/ directories are not accessible directly via a web browser. See security warning.