Yii v2 snippet guide

Comparing #176 with #177

Revision #177 was created by rackycz rackycz on Mar 21, 2020, 11:19:42 AM.

formatting

Content

**Intro** ---
Hi all!
[...]
**Prerequisities**
--
-
Skip this paragraph if you know how to run your Yii demo project...
[...]
... but it should work out-of-the-box if you use DB name "yii2basic" which is also used in examples below ...

**Yii demo app + GitLab**
---
[...]
Then you can start to modify you project, for example based on this "tutorial".

**Automatical copying from GitLab to FTP**
 
---


I found these two pages where things are explained: [link](https://www.savjee.be/2019/04/gitlab-ci-deploy-to-ftp-with-lftp/) [link](https://stackoverflow.com/questions/49632077/use-gitlab-pipeline-to-push-data-to-ftpserver) and I just copied something.

You only need to create 1 file in your GitLab repository. It is named .gitlab-ci.yml and it should contain following code:
[...]