Localhost

Blog: Infrastructure

Laravel Deployment - Setup environment

Setup dependencies

Install NGINX through apt:

$ apt install nginx

Install php dependencies

$ apt install php7.2 php7.2-curl php7.2-common php7.2-cli php7.2-mysql php7.2-mbstring php7.2-fpm php7.2-xml php7.2-zip php7.2-bcmath

Update php.ini properties:

$ nano /etc/php/7.2/fpm/php.ini
#edit according to your setup
memory_limit = 1024M
Read more…

Deploy Parse Server, MongoDB and Parse Dashboard on Ubuntu 18.04

Parse is an excellent mBaaS developed by Parse Inc. (acquired by Facebook) then abandoned/Open Sourced. It has an active community and can help you build your mobile apps very fast.

Parse has SDKs for native android, javascript/react native and is very straightforward to integrate into your app.

If you would like to avoid the hassle of setting up and maintaing your own infrastructure, I recommend using back4app.com which provides good support for parse and offer a fair free tier service:
* Ideal for developing, learning and prototyping * No credit card required10k Requests * 250 MB Database * 1 GB Transfer * 1 GB Storage

In my case, I always prefer maintaining my own servers and infrastructure. This tutorial can be automated by using ansible. but for now we will do the installation manually. Read more…