Giter VIP home page Giter VIP logo

rico's Introduction

Rico

How to

  • Test the application:

    • Run all containers
    • Start browser: http://0.0.0.0:8000
  • Run all containers:

fig up -d
  • To see what environment variables are available to the web service:

fig run web env

  • Install Fig (docker-compose):

Use pip:

# Install virtualenv
sudo pip install virtualenv
# Create a virtual environment
virtualenv .rico
# Activate virtual environment
source .rico/bin/activate
# Install Fig
pip install -U fig

Or, use a release available for OS X and 64-bit Linux:

curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig

rico's People

Contributors

bouzlibop avatar

Watchers

Leonardo Rossi avatar Esteban J. G. Gabancho avatar James Cloos avatar Jo MacMahon avatar Marco Neumann avatar Alex Ioannidis avatar Nicola avatar Bruno Cuc avatar Wojtek avatar Nikos Filippakis avatar Javier Delgado Fernández avatar  avatar  avatar David Zerulla avatar Glignos avatar Lucas Lavy-Upsdale avatar fuubaritozzo avatar

rico's Issues

Rename milestone

I think it's better to rename milestone in 0.1, 0.2 and so on... instead 1.0, 2.0, .....
In that way, we can use it as a version number.. :D
@jmacmahon

merge theme branch

Hi guys,
probably I have now more free time to work on Rico! 👯
@jmacmahon can you finish the enhancements in theme branch and merge in master?
(and maybe move rico/client/mockups to rico/mockups)
@jmacmahon @bouzlibop meeting? What's the next step? We needs to split our works to not overlap us.. XD

RFC logo: choosing the cutest pengui

@jmacmahon, @hachreak,

It's high time we should choose the logo, for our rico 🐧. Below I post my propositions please comment on those and leave your propositions.

  1. penguin first
  2. penguin dark second
  3. penguin dark (maybe also with the negative of that) third
  4. target_1 fourth
  5. target_2 fifth
  6. pen sixth

Which docker image for nodejs?

@jmacmahon I'm trying to create 3 different containers for client (lunch python utils), mongodb and server (with nodejs).
Apart the problem to understand how to run 3 different containers in one time... (maybe with Fig: https://github.com/docker/fig )
my problem is to choice which Dockerfile is better for nodejs: 0.10.36, 0.10.36-slim or 0.10.36-build?

The firsts 2, in the end of his Dockerfile, run node. The last run npm start.
How is the installation procedure for your server app? :)

See available images:
https://registry.hub.docker.com/_/node/

Move package.json into server directory

Maybe it's better to move the package.json file into the server directory because it's something only useful for server. :)
I'm trying to create a Dockerfile for each one and it seems better if the server is completely separated from client.

nodejs load configuration from environment

@jmacmahon
Fig automatically create a link to mongodb in nodejs container.
It means that in nodejs environment we have available the IP/Port of mongodb server.

Something like that:

RICO_MONGODB_1_PORT=tcp://172.17.0.87:27017
RICO_MONGODB_1_PORT_27017_TCP=tcp://172.17.0.87:27017
RICO_MONGODB_1_PORT_27017_TCP_ADDR=172.17.0.87
RICO_MONGODB_1_PORT_27017_TCP_PORT=27017
RICO_MONGODB_1_PORT_27017_TCP_PROTO=tcp
RICO_MONGODB_1_PORT_28017_TCP=tcp://172.17.0.87:28017
RICO_MONGODB_1_PORT_28017_TCP_ADDR=172.17.0.87
RICO_MONGODB_1_PORT_28017_TCP_PORT=28017
RICO_MONGODB_1_PORT_28017_TCP_PROTO=tcp
RICO_MONGODB_1_NAME=/rico_nodejs_run_1/rico_mongodb_1
RICO_MONGODB_1_ENV_MONGO_RELEASE_FINGERPRINT=DFFA3DCF326E302C4787673A01C4E7FAAAB2461C
RICO_MONGODB_1_ENV_MONGO_VERSION=2.6.7

Can we use the process.argv to load this variables to initialize server.js?
(And leave the loading of settings.js only if these variables are not availables?)

RFC importer.js as a module of server.js

I propose to move the importer.js inside the server directory and refactoring it like a server module that it'll expose a RESTFUL API like:

http://server/api/importer?url=https://fosdem.org/2015/schedule/xml

CC @jmacmahon

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.