Test and deploy Laravel applications with GitLab CI/CD and Envoy

Recently we decided to move some of our projects to  GitLab  especially because we are attracted by the plans and all in one solution that it offers. We were particularly interested into  CI/DC for testing and continuous deployment on our DitigitalOcean droplets. Looking into the numerous resources, we have found this article that explain very clearly how to deploy a Laravel Any application using GitLab CI/DC and Laravel Envoy. We now use it for 2 of our projects and counting to add more of them. Below I report the article but I suggest you to visit GitLab website for the …

Read moreTest and deploy Laravel applications with GitLab CI/CD and Envoy

My Different Idea let’s meet Ivana

We are often helping and assisting Startups, we love it and we decided to share their experiences. We will have a series of Q/A sessions with the founders to inspire “Startuppers to be”, we hope you will find this post helpful. Hi Ivana, tell us a bit about you. Hi, i’m an Italian girl, i’m sporty, sociable and scrappy. I’m graduated in Business Administration and i worked as an artistic gymnastics instructor since ten years. What’s the most important thing you’re working on right now, and how are you making it happen? I’m creating a startup in sport sector, my …

Read moreMy Different Idea let’s meet Ivana

InvoiceNinja Module: Access

InvoiceNinja is a very interesting invoicing Laravel application that we discovered last year. They have two different versions – hosted and self-hosted. In other words, you can register at invoiceninja.com and use their online version, paying for premium services, or you can download the code for free (Laravel 5.2) and install it on your server for free. We started with the hosted version, and we loved it, especially our accountant. It is really well made, easy to use, with a slick interface.   It took us few days to master the tool and since than we have been using it everyday. The hosted …

Read moreInvoiceNinja Module: Access

Analizzare tecniche e strumenti per conquistare nuovi clienti e far crescere la tua attività

[vc_row][vc_column][vc_column_text]Come migliorare la gestione e la comunicazione del tuo ristorante e aumentare le tue vendite? Vieni a scoprirlo Lunedì 10 Aprile 2017, dalle ore 15.30 alle ore 18,30, al seminario gratuito per Professionisti della Ristorazione presso l’Antisala dei Baroni del Maschio Angioino (Castel Nuovo) a Napoli. Come arrivare: Fermata Municipio, Metro Linea 1 Andremo ad analizzare tecniche e strumenti per conquistare nuovi clienti e far crescere la tua attività. Inoltre, saranno presentati BiplanFood, l’applicazione di business intelligence per il controllo del proprio ristorante e Reguard, l’innovativo strumento di digital marketing “pronto per l’uso”. [/vc_column_text][boc_spacing][/vc_column][/vc_row][vc_row content_placement=”middle”][vc_column width=”1/4″][vc_single_image image=”24104″][/vc_column][vc_column width=”3/4″][vc_column_text]  Per tutti …

Read moreAnalizzare tecniche e strumenti per conquistare nuovi clienti e far crescere la tua attività

Secure your ssh connection disabling ssh password logins

First off, having to remember a password for each of your clients server it is quite daunting, so it might seem a good idea to store the password to your server access in a very secure spreadsheet file. Well that is not a great idea, in stead you should secure the access to your server using an ssh key, this also will allow you to forget about a password and gaining access straight with a command line. So let’s start. First of all you will have to create a key , if you haven’t already (this is a MAC guide, but …

Read moreSecure your ssh connection disabling ssh password logins

Inexpensive stage LAMP server with Raspberry Pi3 and Ubuntu Server

Have you ever been in the position of asking your self  “How much shall I spend for a development server?”, “Shall I get an inexpensive shared host?” , “Will it be enough for my needs?”, “Perhaps i should upgrade”… well ask no more. If you don’t expect much traffic, and you are on a tight budget, or simply you want to make more practice in maintaining a web server, why not going for a home made web server. Raspberry Pi now i quite performing for a stage environment, and very very inexpensive. As a test we have got  the Raspberry …

Read moreInexpensive stage LAMP server with Raspberry Pi3 and Ubuntu Server

Mailtrap with Symfony, testing emails has never been so easy

Today I would like to write about a service that we use daily during development and pre-production, Mailtrap. Mailtrap is a fake SMTP server for development teams to test, view and share emails sent from the development and staging environments without spamming real customers. To set it up is very easy and for 1 inbox is also free. Simply hit the registration page, and head to the default inbox. There you will see the inbox settings that can be used in your project. That’s it! To make your job even easier, Mailtrap has a very useful Integration drop down that …

Read moreMailtrap with Symfony, testing emails has never been so easy

Laravel 5.3 add multi-language functionality

During a recent project, we faced the issue of adding a multi-language functionality to our application. We store our Laravel applications on DigitalOcean, but this tutorial will work basically on any other hosting company. Using Laravel middlewares we found a quite easy and straight forward solution. In this tutorial we will show you how to easily create your own. Add available locales in the configurations In order to allow only certain locales to work , simple add right below the locale key  in config/app.php the following array: ‘locales’ => [ ‘en’ => ‘English’, ‘it’ => ‘Italiano’], Create a custom middleware …

Read moreLaravel 5.3 add multi-language functionality

Let’s Encrypt ! How to create free ssl certificates on Ubuntu

SSL Certificates, sometimes called digital certificates, are used to establish a secure encrypted connection between a browser (user’s computer) and a server (website). The SSL connection protects sensitive data, such as credit card information, exchanged during each visit (session). Let’s Encrypt provides an easy way to obtain and install trusted certificates for free. In this guide we will show how to create a free certificate using Let’s Encrypt on Ubuntu. Download the Let’s Encrypt Client We will first download Let’s Encrypt client, certbot-auto from the EFF download site. Download  certbot-auto to the /usr/local/sbin directory by typing: cd /usr/local/sbin sudo wget https://dl.eff.org/certbot-auto We …

Read moreLet’s Encrypt ! How to create free ssl certificates on Ubuntu

Restrict sftp users to theirs home directory and share folders

I often have to share resources to clients ,  but allowing them to “play” with the entire file system of the web app, might end up in disaster. That’s why i decided to write this little guide on how to restrict sftp users to theirs home directory and share folders. Restrict sftp access to home directory First we need to modify the sshd_config file which contains all the ssh configurations. sudo nano /etc/ssh/sshd_config Make sure the following line is enable, otherwise add it your self. Subsystem sftp internal-sftp  -f AUTH -l VERBOSE On DigitalOcean I had the following line, which …

Read moreRestrict sftp users to theirs home directory and share folders