Coder Social home page Coder Social logo

bar-sport's Introduction

BarSport

Simple chat server, a similar experimento to Bar Sport is dbeck.An interesting point could be riak core. An explanation about it can be foudn here.

Requirments

Execute npm install -g webpack to install webpack. We suggest at least node v4.xx. We use postgreSQL as DB and we need the username and password to connect to DB as environment variable PGUSER and PGPASSWORD. Launch mix create_db to create sample database (We DROP it if it's exist). And also MIX_ENV=test mix create_db to create DB for tests.

Execute npm install to install all the packages required by webpack and react. Execute mix deps.get to get all required packages. To lanch the server execute mix --no-halt. If ou modify the elxir sources it will be automaticcaly recompiled and loaded in your server and also in your console, if it is executed as iex -S mix.

Development

Execute npm install to install all the packages required by webpack and react. Execute mix deps.get to install all the packages required by exlixir.

To watch the modify of js for recompile with webpack run webpack --progress --colors --watch

To lanch the server execute mix run --no-halt

Questions

  • Is possible execute custom tasks after some standard tasks for ex: mix deps.get? If it's possible we can attach npm install ot it.

bar-sport's People

Contributors

gpad avatar keown avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bar-sport's Issues

Integrate mix deps.get e npm install

Find a way to integrate mix deps.get e npm install.

Some possibilities:

  • Create a new task that execute both
  • Use some hooks(exists?) to trigger npm install after mix deps.get

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.