Giter Site home page Giter Site logo

andykais / telebum2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 449 KB

A recreation of telebum using react/redux, docker and postgres

License: MIT License

Shell 0.43% Nginx 0.10% JavaScript 90.52% HTML 0.44% Scala 1.18% CSS 7.34%
docker react redux postgresql scala

telebum2's Introduction

Requirements

make sure docker group is added (so docker can open ports without sudo)

sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo systemctl restart docker

Setup

add wait-for-it submodule

git submodule init
git submodule update --recursive

Running

# init databases and install node modules (only necessary during setup)
./install.sh
# start the server in development mode
./start.sh dev

# enter into any running container in this project
./shell.sh [service_name]

# get to a postgres client with
docker run -it --network=telebumapp_db postgres:9.6 \
  psql -h postgres -p 5432 -d telebum -U postgres
# or
pgcli postgres://postgres:test@localhost:5432/telebum

Gotchas

Web-Client & Web-Api

To install packages, use shell.sh. A weird issue is that webpack cannot detect a new packages after you require it in a file given it is not already installed. Therefore, when adding new packages follow this order:

  1. ./shell [service]
  2. $ yarn add package
  3. now import package to file

telebum2's People

Contributors

andykais avatar

Watchers

James Cloos avatar  avatar  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.