Ir al contenido principal

Entradas

Mostrando entradas de junio, 2018

Creating a tensorflow.js + vue.js simple application in javascript

This is a Tensorflow.js tutorial for creating a simple application using Vue.js, above is the vid and below you will find some of the steps followed. Steps Pre-reqs Have node.js installed Create the Vue.js application using nuxt.js Add support for tensorflow.js in vue.js and add a simple model Add the simple tensorflow.js model using vue.js into github pages Create the Vue.js application using nuxt.js Install vue.js cli npm install -g vue-cli Create a base Vue.js app using the starter kit from Nuxt vue init nuxt-community/starter-template simple-vue-tensorflow Start the dev server npm run dev Create empty component components/TensorflowExample.vue Add the component into the page pages/index.vue …

Testing a simple web application using Docker and Galen

This is a Docker tutorial for creating a docker image for the Galen framework, above is the vid and below you will find some of the steps followed. Steps Pre-reqs
Have node.js installed (For using galen without docker) Have Java installed (For using galen without docker) And docker installed Create tests using galen Create docker container for the galen-cli container Build, Run and experiment with your new containers Create a Dockerfile for the galen-cli container Include clean ubuntu container
FROM ubuntu Create default/working directory
WORKDIR /workdir Install Java
RUN apt-get update && \ apt-get install -y curl && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:openjdk-r/ppa && \ apt-get update && \ apt-get install -y ope…