Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 2.11 KB

readme.md

File metadata and controls

72 lines (46 loc) · 2.11 KB

Chuck project

Create database 'chuck' with user and password 'root'.

Then create this table, and run composer.

CREATE TABLE `chuck`.`record` (
    `id` INT NOT NULL AUTO_INCREMENT,
    `name` VARCHAR(64) NULL,
    `firstNumber` INT NULL,
    `secondNumber` INT NULL,
    `thirdNumber` INT NULL,
    `calculation` VARCHAR(128) NULL,
    `joke` TEXT NULL,
    `createdAt` DATETIME NULL,
PRIMARY KEY (`id`));

Now you can open web project localhost/chuck/www

Nette Web Project

Welcome to the Nette Web Project! This is a basic skeleton application built using Nette, ideal for kick-starting your new web projects.

Nette is a renowned PHP web development framework, celebrated for its user-friendliness, robust security, and outstanding performance. It's among the safest choices for PHP frameworks out there.

If Nette helps you, consider supporting it by making a donation. Thank you for your generosity!

Requirements

This Web Project is compatible with Nette 3.2 and requires PHP 8.1.

Installation

To install the Web Project, Composer is the recommended tool. If you're new to Composer, follow these instructions. Then, run:

composer create-project nette/web-project path/to/install
cd path/to/install

Ensure the temp/ and log/ directories are writable.

Web Server Setup

To quickly dive in, use PHP's built-in server:

php -S localhost:8000 -t www

Then, open http://localhost:8000 in your browser to view the welcome page.

For Apache or Nginx users, configure a virtual host pointing to your project's www/ directory.

Important Note: Ensure app/, config/, log/, and temp/ directories are not web-accessible. Refer to security warning for more details.

Minimal Skeleton

For demonstrating issues or similar tasks, rather than starting a new project, use this minimal skeleton.