/Webbylab_film_test

Веб-приложение для хранения информации о фильмах.

Primary LanguagePHP

Webbylab_film_test

Веб-приложения написано на чистом PHP 7.2 + MySql с использованием паттерна MVC. Безм использования фреймворков.

Для запуска веб-приложения нужно:

  1. Скачать и установить любой локальный сервер(PHP local server), я же использовал Open Server - https://ospanel.io/download/
  2. После установки локального сервера.

Нужно зайти в Настройки->Модули и установить настройки которые указаны ниже.

4

  1. Нужно зайти в корневую папку сервера, найти там папку "domains" и внутри нее создать папку для вашего проекта, я же создал папку "webbylab.dev".
  2. Склонировать проект на рабочий стол использовав команду:

git clone https://github.com/maksru/Webbylab_film_test.git

И все файлы с папки "Webbylab_film_test" скопировать в папку "webbylab.dev".

  1. Изменить учетные данные подключения к базе данных MySQL (/config/database.php).
  2. Перед запуском локального сервера в Настройках->Домены установить путь к корневой папке "public".

1

2

  1. Запустить локальный сервер. В строке браузера ввести "http://webbylab.dev/" . Если вы сделали все правильно вы попадете на главную страницу приложения.

3

Webbylab_film_test

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:

  1. Download and install any local server (PHP local server), I used Open Serve - https://ospanel.io/download/
  2. After installing the local north.

You need to go to Settings-> Modules and set the settings that are listed below.

4

  1. 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.
  2. 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.

  1. Change the credentials for connecting to the MySQL database (/config/database.php).
  2. Before starting the local server in the Settings->ёDomains, set the path to the root folder "public".

1

2

  1. 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.

3