Веб-приложения написано на чистом PHP 7.2 + MySql с использованием паттерна MVC. Безм использования фреймворков.
Для запуска веб-приложения нужно:
- Скачать и установить любой локальный сервер(PHP local server), я же использовал Open Server - https://ospanel.io/download/
- После установки локального сервера.
Нужно зайти в Настройки->Модули и установить настройки которые указаны ниже.
- Нужно зайти в корневую папку сервера, найти там папку "domains" и внутри нее создать папку для вашего проекта, я же создал папку "webbylab.dev".
- Склонировать проект на рабочий стол использовав команду:
git clone https://github.com/maksru/Webbylab_film_test.git
И все файлы с папки "Webbylab_film_test" скопировать в папку "webbylab.dev".
- Изменить учетные данные подключения к базе данных MySQL (/config/database.php).
- Перед запуском локального сервера в Настройках->Домены установить путь к корневой папке "public".
- Запустить локальный сервер. В строке браузера ввести "http://webbylab.dev/" . Если вы сделали все правильно вы попадете на главную страницу приложения.
Web applications are written in pure PHP 7.2 + MySql using the MVC pattern. Without the use of frameworks.
To start the web application you need:
- Download and install any local server (PHP local server), I used Open Serve - https://ospanel.io/download/
- After installing the local north.
You need to go to Settings-> Modules and set the settings that are listed below.
- You need to go to the root folder of the server, find the "domains" folder there and create a folder for your project inside it, I created the "webbylab.dev" folder.
- Clone the project on the desktop using the command:
git clone https://github.com/maksru/Webbylab_film_test.git
And copy all the files from the "Webbylab_film_test" folder to the "webbylab.dev" folder.
- Change the credentials for connecting to the MySQL database (/config/database.php).
- Before starting the local server in the Settings->ёDomains, set the path to the root folder "public".
- Start the local server. In the browser line, enter "http://webbylab.dev/". If you did everything correctly, you will be taken to the main page of the application.