Skip to content

peco8/quickstart-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quickstart-php

A simple PHP app ( using Sim: a PHP micro framework) which can easily be deployed to Arukas.

Running locally

$ git clone [email protected]:peco8/quickstart-php.git
$ cd quickstart-php
$ docker build --no-cache --tag quickstart-php .
$ docker run -d -p 80:80 quickstart-php

Your app should now be running:

$ curl 192.168.59.103:80/hello/Arukas
Hello world

Deploying to Arukas

Install the Arukas CLI,

or If you have docker installed already, try

$ docker run --rm -e ARUKAS_JSON_API_TOKEN=<APIT_TOKEN> \
                  -e ARUKAS_JSON_API_SECRET=<SECRET_KEY> \
                    arukasio/arukas run --instances=1 \
                                        --mem=512 \
                                        --ports=80:tcp peco8/quickstart-php

Authors

License

This project is licensed under the terms of the MIT license.

Continue with this tutorial here.

About

Getting start in Arukas wih PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published