Postgres and pgAdmin4 docker communication

Before you proceed with these steps, make sure you've successfully installed docker on your system. Obtain the postgres docker by running the following command: docker pull postgres:latest After the image has been obtained launch it by using the following command: docker run -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 --restart=always postgres Note that this command spe…

Read more

FORWARD Unit Development - Getting Started Guide

In this post, I will describe how to set up all the tools required to start developing FORWARD Units. For the development of the FORWARD units we will be using the very widely used IDE WebStorm. If you're using a Mac or Windows, the installation should be pretty straight forward, just head over to this page, download the appropriate installer and just run it. For instructions on how to install Web…

Read more

Socket.io Random Number Generator Error

So, if you decide to use socket.io in one of your projects, you might come accross the following error: ERROR [karma]: [Error: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded] followed by a long and scary stack traceback. Not to worry there's a fix for that! Open the file: node_modules/karma/node_modules/socket.io/lib/manager.js Go to line 734 (it might actually be a cou…

Read more

Installing NodeJS, npm and bower

In this guide I will be showing you how to install NodeJS (and its package managers npm and bower) on your machine. If you're on a Linux machine, run the following commands: sudo apt-get update sudo apt-get install nodejs If you're using a Mac or windows just head over to this link and download the appropriate installer. Then follow the wizard to install it successfully. When you're done with the…

Read more