Revision #44 has been created by rackycz on Sep 20, 2019, 12:32:52 PM with the memo:
edit
« previous (#43) next (#45) »
Changes
Title
unchanged
Yii v2 for beginners
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
[...]
---
Once you download and run the basic app, I recommend to push it into [GitLab](https://gitlab.com/). You will probably need a SSH certificate which can be generated [like this](https://www.huber.xyz/?p=275) using [PuTTYgen](https://www.puttygen.com/). When I work with Git I use [TortoiseGIT](https://www.puttygen.com/) which integrates all git functionalities into the context menu in Windows File Explorer.
First go to GitLab web and [create a new project](https://gitlab.com/projects/new). Then you might need to fight a bit, because the login-process seems to be quite complicated.
Once things work, just create an empty folder, right click it and select Git Clone. Enter youtr git path, best is this format:
- git@gitlab.com:{username}/{projectName}.git[...]
- http://gitlab.com/{username}/{projectName}.git
When cloned, copy the content odf the "basic" folder into th
ire new empty git-folder and push everything except for folder "vendor" It contains 75MB and 7000 files. You dont want to have it in GIT.
Then you can start to mo
fdify you project
, for example based on this
"tutorial
(or better name would be a Snippet library)".
User management + DB creation + login via DB
---
To create DB with users, use following command. I recommend charset **utf8_unicode_ci** (or utf8mb4_unicode_ci) as it allows you to use [more international characters](https://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci).[...]