Giter Club home page Giter Club logo

demo-ps's People

Contributors

jameseogden avatar kayhide avatar nwolverson avatar robashton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-ps's Issues

What is going on here?

I've been purerl-curious here for a hot minute, and am finally trying to crack into it. I enjoy PureScript, and thing the Pinto/Stetson combo looks really interesting. It was suggested that someone who wants to try just clone/use this demo repo. I just get can't get this running (well, the Nix pkgs have been downloading the last hour; update: seems the shell loaded overnight).

I know this is "a contrived purerl example", but can someone add a little more documentation on how this is running and dependencies? There's Redis, purerl, Erlang are the back-end bits? The front-end is Halogen, Bootstrap, and jQuery? There's Docker and Nix? Can't one just use one or the other? I'm not following the back and forth between the two and the shell scripts. Things are built with Make locally or in the containers? What's Nix being used for if several of the key binaries are curl'd from Github releases into Docker (Rebar, Dhall, PureScript, Purerl, Spago)? Who is consuming this .envrc? Is it a Bash file or a Zsh file?

There may not be a lot on the screen or in the db, but there's a lot of stuff going on with the tooling here and it feels scattered. Something like a list of prerequisite dependencies and a Mermaid diagram of the base architecture/structure in the README would go a long way.

Build/Compilation Error

06:12:30  demo-ps ±|main|→ rebar3 compile
===> Verifying dependencies...
===> Fetching cowboy (from {git,"https://github.com/ninenines/cowboy.git",
                  {ref,"66fd122c08dd05e2ff2300af963cb977dca2ba7c"}})
===> Fetching eredis (from {git,"https://github.com/wooga/eredis.git",
                  {ref,"9ad91f149310a7d002cb966f62b7e2c3330abb04"}})
===> Fetching erlang_ls (from {git,"https://github.com/erlang-ls/erlang_ls.git",
                     {ref,"64313bba94e0b5877ffe99ce169478a12d8da049"}})
===> Fetching rebar3_proper v0.12.1
===> Analyzing applications...
===> Compiling rebar3_proper
===> Fetching coveralls v2.2.0
===> Fetching jsx v2.10.0
===> Analyzing applications...
===> Compiling jsx
===> Compiling coveralls
===> Fetching rebar3_lint (from {git,"https://github.com/project-fifo/rebar3_lint.git",
                       {tag,"0.1.11"}})
===> Fetching elvis v0.5.0
===> Fetching katana_code v0.2.1
===> Fetching zipper v1.0.1
===> Analyzing applications...
===> Compiling zipper
===> Compiling katana_code
===> Compiling elvis
===> Compiling rebar3_lint
===> Fetching erlydtl (from {git,"https://github.com/erlydtl/erlydtl",
                   {ref,"bb1ae0f005dd038bc2a5605465fec6429b3e3a30"}})
===> Fetching gproc (from {git,"https://github.com/uwiger/gproc.git",
                 {ref,"ce7397809aca0d6eb3aac6db65953752e47fb511"}})
===> Fetching jsone (from {git,"https://github.com/sile/jsone.git",
                 {ref,"da850bda9ffc144035af32e490e976fb3dd0fd6a"}})
===> Fetching jsx v2.8.0
===> Fetching recon v2.3.6
===> Fetching cowlib (from {git,"https://github.com/ninenines/cowlib",
                  {ref,"8588724cf91ddbb53b9c35ed665866556b217323"}})
===> Fetching docsh v0.7.2
===> Fetching elvis_core v0.6.0
===> Fetching ephemeral v2.0.4
===> Fetching rebar3_elixir v0.2.4
===> Fetching rebar3_hex v7.0.4
===> Fetching hex_core v0.8.4
===> Fetching verl v1.1.1
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling rebar3_elixir
===> Fetching lager v3.8.0
===> Fetching ranch (from {git,"https://github.com/ninenines/ranch",
                 {ref,"7423a7bb6dde5edc26283544956ae7387fa69688"}})
===> Fetching rebar3_format v0.2.1
===> Fetching redbug (from {git,"https://github.com/massemanet/redbug.git",
                  {ref,"60fb6e17c164f153a792985a88ac5c67a2364220"}})
===> Fetching tdiff v0.1.2
===> Fetching uuid v1.8.0
===> Fetching yamerl v0.7.0
===> Fetching bucs v1.0.16
===> Fetching goldrush v0.1.9
===> Fetching katana_code v0.2.1
===> Fetching providers v1.8.1
===> Fetching quickrand v1.8.0
===> Fetching zipper v1.0.1
===> Fetching getopt v1.0.1
===> Analyzing applications...
===> Compiling eredis
===> Compiling recon
===> Compiling redbug
===> Compiling tdiff
===> Compiling goldrush
===> Compiling jsx
===> Compiling cowlib
===> Compiling yamerl
===> Compiling quickrand
===> Compiling uuid
===> Compiling katana_code
===> Compiling rebar3_format
_build/default/lib/rebar3_format/src/otp_formatter.erl:14:2: Warning: undefined callback function format_file/3 (behaviour 'rebar3_formatter')
_build/default/lib/rebar3_format/src/otp_formatter.erl:14:2: Warning: undefined callback function init/2 (behaviour 'rebar3_formatter')

_build/default/lib/rebar3_format/src/default_formatter.erl:7:2: Warning: undefined callback function format_file/3 (behaviour 'rebar3_formatter')
_build/default/lib/rebar3_format/src/default_formatter.erl:7:2: Warning: undefined callback function init/2 (behaviour 'rebar3_formatter')

===> Compiling ranch
_build/default/lib/ranch/src/ranch_ssl.erl:142:7: Warning: ssl:ssl_accept/3 is removed; use ssl_handshake/1,2,3 instead

===> Compiling lager
/tmp/demo-ps/_build/default/lib/lager/src/lager.erl:83:10: Warning: variable '_App' is bound multiple times in this pattern. If you mean to ignore this value, use '_' or a different underscore-prefixed name
%   83| start_ok(_App, {error, {already_started, _App}}) -> ok;
%     |          ^

/tmp/demo-ps/_build/default/lib/lager/src/lager.erl:83:42: Warning: variable '_App' is bound multiple times in this pattern. If you mean to ignore this value, use '_' or a different underscore-prefixed name
%   83| start_ok(_App, {error, {already_started, _App}}) -> ok;
%     |                                          ^

_build/default/lib/lager/src/lager.erl:83:10: Warning: variable '_App' is bound multiple times in this pattern. If you mean to ignore this value, use '_' or a different underscore-prefixed name
_build/default/lib/lager/src/lager.erl:83:42: Warning: variable '_App' is bound multiple times in this pattern. If you mean to ignore this value, use '_' or a different underscore-prefixed name

===> Compiling getopt
===> Compiling bucs
_build/default/lib/bucs/src/bucuri.erl:38:8: Warning: http_uri:parse/1 is removed; use uri_string functions instead

===> Compiling ephemeral
===> Compiling zipper
===> Compiling elvis_core
===> Compiling providers
===> Compiling docsh
_build/default/lib/docsh/src/docsh_tracer.erl:37:1: Warning: missing specification for function tracer_monitor/1
_build/default/lib/docsh/src/docsh_tracer.erl:45:1: Warning: missing specification for function handler/2
_build/default/lib/docsh/src/docsh_tracer.erl:63:1: Warning: missing specification for function strip_ts/1
_build/default/lib/docsh/src/docsh_tracer.erl:66:1: Warning: missing specification for function format_call/1
_build/default/lib/docsh/src/docsh_tracer.erl:70:1: Warning: missing specification for function format_return_from/1
_build/default/lib/docsh/src/docsh_tracer.erl:74:1: Warning: missing specification for function translate_args/1
_build/default/lib/docsh/src/docsh_tracer.erl:78:1: Warning: missing specification for function translate_ret/1
_build/default/lib/docsh/src/docsh_tracer.erl:81:1: Warning: missing specification for function translate_one/1
_build/default/lib/docsh/src/docsh_tracer.erl:84:1: Warning: missing specification for function translations/0
_build/default/lib/docsh/src/docsh_tracer.erl:87:1: Warning: missing specification for function flatten_if_state/1
_build/default/lib/docsh/src/docsh_tracer.erl:90:1: Warning: missing specification for function pass_to_dbg/2
_build/default/lib/docsh/src/docsh_tracer.erl:97:1: Warning: missing specification for function ffunc/1
_build/default/lib/docsh/src/docsh_tracer.erl:105:1: Warning: missing specification for function fargs/1
_build/default/lib/docsh/src/docsh_tracer.erl:111:1: Warning: missing specification for function print/3
_build/default/lib/docsh/src/docsh_tracer.erl:114:1: Warning: missing specification for function enum/1
_build/default/lib/docsh/src/docsh_tracer.erl:117:1: Warning: missing specification for function format_timestamp/1
_build/default/lib/docsh/src/docsh_tracer.erl:119:1: Warning: missing specification for function format_timestamp/2
_build/default/lib/docsh/src/docsh_tracer.erl:132:1: Warning: missing specification for function format_element/0
_build/default/lib/docsh/src/docsh_tracer.erl:137:1: Warning: missing specification for function format_content/0
_build/default/lib/docsh/src/docsh_tracer.erl:153:1: Warning: missing specification for function element/1
_build/default/lib/docsh/src/docsh_tracer.erl:162:1: Warning: missing specification for function cleanup_text/0

===> Compiling erlang_ls
===> Compiling _build/default/lib/erlang_ls/src/els_provider.erl failed
_build/default/lib/erlang_ls/src/els_provider.erl:none: error in parse transform 'lager_transform':
exception error: bad argument
  in function  integer_to_list/1
     called as integer_to_list({67,3})
     *** argument 1: not an integer
  in call from lager_transform:make_varname/2 (/tmp/demo-ps/_build/default/lib/lager/src/lager_transform.erl, line 271)
  in call from lager_transform:do_transform/5 (/tmp/demo-ps/_build/default/lib/lager/src/lager_transform.erl, line 176)
  in call from lager_transform:walk_body/2 (/tmp/demo-ps/_build/default/lib/lager/src/lager_transform.erl, line 90)
  in call from lager_transform:walk_clauses/2 (/tmp/demo-ps/_build/default/lib/lager/src/lager_transform.erl, line 85)
  in call from lager_transform:walk_ast/2 (/tmp/demo-ps/_build/default/lib/lager/src/lager_transform.erl, line 67)
  in call from compile:foldl_transform/3 (compile.erl, line 1172)
  in call from compile:fold_comp/4 (compile.erl, line 405)

Using latest purerl (v0.0.19).

Is there anything I can do?

Kind regards!

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.