bodymindarts / awesomechat-elixir Goto Github PK
View Code? Open in Web Editor NEWAwesome Chat chat app written in Elixir using the Phoenix web framework
Awesome Chat chat app written in Elixir using the Phoenix web framework
I'm learning Elixir and was curious about your project. Unfortunately I can't compile it because it fails when I try to start the phoenix server:
Generated awesomechat app
[info] Running AwesomeChat.Endpoint with Cowboy on port 4000 (http)
[info] Application awesomechat exited: AwesomeChat.start(:normal, []) returned an error: shutdown: failed to start child: AwesomeChat.Storage
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function AwesomeChat.Storage.start_link/0 is undefined or private. Did you mean one of:
* start_link/2
(awesomechat) AwesomeChat.Storage.start_link()
(stdlib) supervisor.erl:358: :supervisor.do_start_child/2
(stdlib) supervisor.erl:341: :supervisor.start_children/3
(stdlib) supervisor.erl:307: :supervisor.init_children/2
(stdlib) gen_server.erl:328: :gen_server.init_it/6
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
[info] Application poolboy exited: :stopped
[info] Application cowboy exited: :stopped
[info] Application cowlib exited: :stopped
[info] Application ranch exited: :stopped
[info] Application phoenix_html exited: :stopped
=INFO REPORT==== 29-Jun-2016::00:21:03 ===
application: logger
exited: stopped
type: temporary
** (Mix) Could not start application awesomechat: AwesomeChat.start(:normal, []) returned an error: shutdown: failed to start child: AwesomeChat.Storage
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function AwesomeChat.Storage.start_link/0 is undefined or private. Did you mean one of:
* start_link/2
(awesomechat) AwesomeChat.Storage.start_link()
(stdlib) supervisor.erl:358: :supervisor.do_start_child/2
(stdlib) supervisor.erl:341: :supervisor.start_children/3
(stdlib) supervisor.erl:307: :supervisor.init_children/2
(stdlib) gen_server.erl:328: :gen_server.init_it/6
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
I don't know what is going on :(
More info:
OS: MacOS Capitan 10.11.3
elixir -v:
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.3.0
What I have done:
git clone https://github.com/bodymindarts/awesomechat-elixir.git
cd awesomechat-elixir/
npm install && mix deps.get
brew install redis
(open new console) redis-server /usr/local/etc/redis.conf
mix phoenix.server
???
explodes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.