Code Monkey home page Code Monkey logo

acoustic-challenge's Introduction

Acoustic Code Challenge

This is a code challenge made for Acoustic which consists in SPA applications that consumes Acoustic Content APIs and renders the content returned using different front-end techologies such as React and Angular.

To be able to run these projects locally, it's highly recommended that you use docker. If you don't have docker installed see: https://docs.docker.com/engine/installation.

If you don't want to use docker for some reason, try and prepare your local development environment in accordance to the technologies and versions present in the Dockerfile.dev of each project and see the how to run them on their respectives docker-compose.yml.

Configuration

$ git submodule update --init

Follow config instructions in the README.md of each service.

Updating submodules

$ ./update <GIT_BRANCH>

Services

Name Technology
ng Angular
react React

Build Images

$ docker-compose build <SERVICE NAME>

Creating Containers

$ docker-compose up <SERVICE_NAME_1> [<SERVICE_NAME_2> ...]

Destroying Containers

  1. find services containers names with docker ps -a
  2. destroy them with docker rm -f <CONTAINER NAME 1> [<CONTAINER NAME 1> ...]

Starting Containers

$ docker-compose start <SERVICE_NAME_1> [<SERVICE_NAME_2> ...]

Stopping Services Containers

$ docker-compose stop <SERVICE_NAME_1> [<SERVICE_NAME_2> ...]

Logs

$ docker-compose logs <SERVICE_NAME>

Protips

Create some aliases to avoid writing docker-compose commands. In your .bashrc file you can add the following:

alias dce='docker-compose exec'
alias dcl='docker-compose logs'
alias dcr='docker-compose run'
alias dcu='docker-compose up'

acoustic-challenge's People

Contributors

lpelos avatar

Watchers

 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.