Yii v2 snippet guide

Comparing #246 with #247

Revision #247 was created by rackycz rackycz on Nov 11, 2020, 1:47:34 PM.

GitLab

Content

[...]
.

**Yii demo app + GitLab**
---

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/)
 or command "ssh-keygen" in Windows10. 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 process of connecting your PC to GIT seems to be quite complicated. At least for me. Note:[Here](https://gitlab.com/-/profile/keys) you can add the public SSH key to GitLab. Private key must be named "id_rsa" and stored in Win10 on path C:\Users\{username}\.ssh
 
 
Once things work, just create an empty folder, right click it and select Git Clone. Enter your git path, best is this format:

- git@gitlab.com:{username}/{projectName}.git
[...]
**This article had to be split as I reached the max length. Second part is here:**

- [https://www.yiiframework.com/wiki/2558/yii-v2-snippet-guide-ii](https://www.yiiframework.com/wiki/2558/yii-v2
-snippet-guide-ii)