Code Monkey home page Code Monkey logo

percipia-deployment's Introduction

percipia-deployment

Deploying

This is the only project you will actually need to clone. There is 1 thing you need to change in example_deploy.sh

You must replace my IP address with your IP address. More information why this is needed is included in the script as comments.

#!/bin/bash

# You will need to update this to your machines IPv4 Address.
# This is because the backend server can't use localhost when in a docker container.
# It's possible to use Docker networks instead, but I don't want to mess with your docker configuration
# So this will work for the sake of the demonstration.
HOST=192.168.200.2

# Deploy Database
cd database
./start.sh
........

Run this command to start the system

./example_deploy.sh

Make sure to have the proper rights to the docker daemon or it will break.

If golang is installed in /usr/local/go/bin/go, running with sudo will break the deployment script.

To work around this, login as root or grant your user rights to the docker daemon.

If you are logging in as root, make sure to add your path to golang to your PATH environment!

You will also need GNUMake to compile the backend app

percipia-deployment's People

Contributors

scalerjo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.