janf/web

Preconfigured Heroku-ready website project in Nette framework

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:HTML

Type:project

v0.5.0 2019-01-04 23:00 UTC

This package is auto-updated.

Last update: 2020-10-02 16:28:47 UTC


README

Heroku hosting compatible Nette skeleton. Comfort development with Live reload, built-in SASS support and pre-configured Visual Studio Code tasks.

Reqirements

For development environment the Composer and NodeJS are required.

Start new project

To prepare new project use commands:

composer create-project janf/web project-name
cd project-name

This command will execute these tasks:

  • Download project and its dependencies via Composer
  • Download and install NodeJS development dependencies
  • Copy Bootstrap resources to www\css\scss

After installation process please check the tmp/ and tmp/log/ directories are writable.

Run DEV environment

To start delelopment environment use command

grunt

Browsersync is proxying :8000 => :8080. It will automatically start your browser at http://localhost:8080

Test

To start all tests from tests/ with nette/tester run

composer test

Visual Studio Code

Project is VS Code friendly. Open editor like:

code .

Use pre-configured VS Code commands

  • Shift + Ctrl + B Watch and compile scss files, run php webserver and serve via Browser sync.
  • F5 - Debug website with XDebug

Bug or Improvement

To submit a bug or Change request please use GitHub https://github.com/janfluksa/nette-web/issues or just send me an email to janfluksa@outlook.com.

If you like it, please give it a start at janfluksa/web GitHub project page.