Changes
Title
changed
Start using Yii2 in Raspberry Pi3 (RPI3) to code & manage it via Pantahub
Category
unchanged
How-tos
Yii version
unchanged
2.0
Tags
unchanged
yii2,docker,RPI3,Raspberry Pi3,Linux,Pantahub
Content
changed
[...]
### Step 3: Singup @pantahub here http://www.pantahub.com
### Step 4: Download & Install a CLI tool "pvr"
> Note: pvr is a CLI tool which can be used to interact with your device through pantahub platform.
> Note: Using pvr you can share your firmware and projects as simple as with a git tree
:.
> Note: Move the pvr binary to your bin folder after download.
Linux(AMD64): [Download](https://gitlab.com/pantacor/pvr/-/jobs/595489669/artifacts/raw/pvr-012.linux.amd64.tar.gz#latest)
Linux(ARM32v6): [Download](https://gitlab.com/pantacor/pvr/-/jobs/595489669/artifacts/raw/pvr-012.linux.armv6.tar.gz#latest)
Darwin(AMD64): [Download](https://gitlab.com/pantacor/pvr/-/jobs/595489669/artifacts/raw/pvr-012.darwin.amd64.tar.gz#latest)
`pvr clone; pvr commit; pvr post`
Install from github source code:
```
$ go get gitlab.com/pantacor/pvr
$ go build -o ~/bin/pvr gitlab.com/pantacor/pvr
```
> Note: You need "GOLANG" to be installed in your system for building pvr from
github source code.[...]
#### c) Claim your device
`$ pvr claim -c merely-regular-gorilla https://api.pantahub.com:443/devices/5f1b9c44e193a
Watch now on Amazon Prime Video
5000afa9901`
![](https://i.imgur.com/v4CzwdR.png)[...]
### Step 2: Add a new app "yii2" into the device
>`sirinibin/yii2-basic-arm32v7:latest` is a Docker
Watch now on Amazon Prime Video
image made for the devices with ARM32 architecture
>> You can customise the docker image for your custom Yii2 app.[...]
### Step 4: Check the device status changes in Pantahub.com dashboard & wait for the status to become **"DONE**"
Status 1:
![](https://i.imgur.com/eCtxpPt.png)
Status 2:
![](https://i.imgur.com/rmpqCdE.png)
Status 3:
![](https://i.imgur.com/cmz5jqU.png
)
Status 4:
![](https://i.imgur.com/K4jfved.png)
### Step 5: Verify the "yii2" app deployment
Access the device IP: http://10.42.0.231/myapp1/web/ in your web browser.[...]