Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1f88696

Browse files
Add code how to run migrations in README
1 parent 35b618a commit 1f88696

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ Minimalistic custom framework created for educational purposes.
77
## Installation
88

99
1. Download the archive or clone the project using git
10-
1. Create `.env` file from `.env.example` file and adjust database parameters
11-
1. Run `composer install`
12-
1. Go to the `public` folder
13-
1. Start php server by running command `php -S 127.0.0.1:8080`
14-
1. Open in browser http://127.0.0.1:8080
10+
2. Create database schema
11+
3. Create `.env` file from `.env.example` file and adjust database parameters (including schema name)
12+
4. Run `composer install`
13+
5. Run migrations by executing `php migrations.php` from the project root directory
14+
6. Go to the `public` folder
15+
7. Start php server by running command `php -S 127.0.0.1:8080`
16+
8. Open in browser http://127.0.0.1:8080
1517

1618

1719
> The project was created along with Youtube Video Series "[Build PHP MVC Framework](https://www.youtube.com/playlist?list=PLLQuc_7jk__Uk_QnJMPndbdKECcTEwTA1)".

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /