Simple CMS for restaurant or your website
www/dashboard - webpack, style, js for admin part
app/FrontModule - For frontend part
app/AdminModule - for administration part
app/Model/Repository - connections for database
database - complete database DUMP
deployment - for deployment to FTP
- Nette 3.1 requires PHP 7.2
composer i
cd www/dashboard
npm i
npm run prod
Make directories temp/
and log/
writable.
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.
Import database from database
directory.
For connect to db make file in config/local.neon
Structure of file is
parameters:
database:
dsn: 'mysql:host=127.0.0.1;dbname=makawacms'
user: root
password: root
If you want show admin just go to
http://localhost:8000/admin
Login and password is
Login: administrator
Password: admin1234