Git Product home page Git Product logo

phoenix-starter's People

Contributors

4eek avatar gildo avatar juliankrispel avatar kthelgason avatar mjcloutier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

phoenix-starter's Issues

ecto.setup is having issues

I'm trying to get hands dirty with this but I'm getting following error -

$ mix ecto.setup
==> setup (compile)
'c:/Users/ramus/.mix/rebar' is not recognized as an internal or external command,
operable program or batch file.
ERROR: Command [compile] failed!
** (Mix) Could not compile dependency :setup, "escript.exe "c:/Users/ramus/.mix/rebar" compile skip_deps=true deps_dir="e:/apps/phoenix-apps/myproject/_build/dev/lib"" command failed. You can recompile this dependency with "mix deps.compile setup", update it with "mix deps.update setup" or clean it with "mix deps.clean setup"

I'm not sure how to take this forward. I'm on windows and using git bash shell

Problem with Lager when running 'mix deps.get'

Hi, I have tried to run mix deps.get and get the following error regarding deps/lager:

➜ phoenix-starter git:(master) ✗ mix deps.get

  • Getting lager (git://github.com/basho/lager.git)
    Cloning into '/Users/dara/Sites/phoenix-starter/deps/lager'...
    fatal: unable to connect to github.com:
    github.com[0: 192.30.252.128]: errno=Operation timed out

** (Mix) Command "git clone --no-checkout --progress "git://github.com/basho/lager.git" "/Users/dara/Sites/phoenix-starter/deps/lager"" failed
➜ phoenix-starter git:(master) ✗

Identity sign up exception

When attempting to Sign Up (the retro way) an exception occurs:

My .envrc is unchanged from the example .envrc.

[error] #PID<0.457.0> running PhoenixStarter.Endpoint terminated
Server: localhost:4000 (http)
Request: POST /auth/identity/callback
** (exit) an exception was raised:
    ** (ArgumentError) argument error
        (stdlib) :ets.lookup(:exometer_2, [:phoenix_starter, :ecto, :query_exec_time])
        src/exometer.erl:213: :exometer.update_/2
        (phoenix_starter) lib/phoenix_starter/repo.ex:5: PhoenixStarter.Repo.log/1
        (ecto) lib/ecto/adapters/sql.ex:227: Ecto.Adapters.SQL.query/5
        (ecto) lib/ecto/adapters/sql.ex:183: Ecto.Adapters.SQL.query!/5
        (ecto) lib/ecto/adapters/sql.ex:481: Ecto.Adapters.SQL.execute/6
        (ecto) lib/ecto/repo/queryable.ex:95: Ecto.Repo.Queryable.execute/5
        (ecto) lib/ecto/repo/queryable.ex:15: Ecto.Repo.Queryable.all/4
        (ecto) lib/ecto/repo/queryable.ex:44: Ecto.Repo.Queryable.one/4
        (phoenix_starter) web/auth/user_from_auth.ex:89: PhoenixStarter.UserFromAuth.auth_and_validate/2
        (phoenix_starter) web/auth/user_from_auth.ex:6: PhoenixStarter.UserFromAuth.get_or_insert/3
        (phoenix_starter) web/controllers/auth_controller.ex:24: PhoenixStarter.AuthController.callback/4
        (phoenix_starter) web/controllers/auth_controller.ex:1: PhoenixStarter.AuthController.action/2
        (phoenix_starter) web/controllers/auth_controller.ex:1: PhoenixStarter.AuthController.phoenix_controller_pipeline/2
        (phoenix_starter) lib/phoenix/router.ex:261: PhoenixStarter.Router.dispatch/2
        (phoenix_starter) web/router.ex:1: PhoenixStarter.Router.do_call/2
        (phoenix_starter) lib/phoenix_starter/endpoint.ex:1: PhoenixStarter.Endpoint.phoenix_pipeline/1
        (phoenix_starter) lib/plug/debugger.ex:93: PhoenixStarter.Endpoint."call (overridable 3)"/2
        (phoenix_starter) lib/phoenix/endpoint/render_errors.ex:34: PhoenixStarter.Endpoint.call/2
        (plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4

Not working

Is it possible to run this boilerplate without "foreman"? I assume standard config files are working fine, but I've got error after mix ecto.setup

Generated csvlixir app
==> oauth
process_begin: CreateProcess(NULL, rm -rf ebin/*.beam, ...) failed.
make (e=2): Nie mo┐na odnalečŠ okreťlonego pliku.
make: *** [clean] B│╣d 2
==> phoenix_starter
** (Mix) Could not compile dependency :oauth, "make" command failed. You can recompile this dependency with "mix deps.compile oauth", update it with "mix deps.update oauth" or clean it with "mix deps.clean oauth"

Api Example

would be nice to have an example using the api scope for this project too

Exadmin "admin" toggle not saving attribute

Despite the browser flashing confirmation, toggling "admin" using ExAdmin doesn't save the :admin state for the selected user. Reproducible for users created inside ExAdmin or through the front end.

Could this be because the user making the change inside Exadmin also needs :admin privlidges? Then we're faced with a chicken/egg situation where the only way we have an admin user after a clean install would be through seeding it.

Typo in FAQ

In the What is up with Foreman and ENVRC? section text is used instead of test...

$ source .envrc
$ mix text

should be...

$ source .envrc
$ mix test

I will submit a very small PR for this ;)

scss in live reload on Chrome

not sure if this is by design, a "feature" of live reload

but when I run this repo and check the source in Chrome Developer mode I see scss files in the source tree under web/static/css

I find this confusing I must say and am trying to turn this off

Can't compile with default psql settings

I'm trying to compile this but keep running into an error saying that I don't have proper user permissions to create an extension. I haven't had any troubles using the default postgres/postgres settings in other apps. Any suggestions for how to get the db user working in localhost would be helpful.

`09:55:34.800 [info] == Running PhoenixStarter.Repo.Migrations.CreateUser.change/0 forward

09:55:34.802 [info] execute "CREATE EXTENSION citext;"
** (Postgrex.Error) ERROR (insufficient_privilege): permission denied to create extension "citext"

EDIT I was trying to use a db user with insufficient permissions, and calling System.get_env("USER") where necessary got everything working again.

Coherence ?

I see you have a bunch of tasks around user management etc

have you looked at Coherence? seems like Coherence and ExAdmin will work well together

but havent seen an example of Uberauth + Guardian + Coherence + ExAdmin

seems thats pretty much whats needed

Phoenix 1.3

Any possibility of seeing a Phoenix 1.3 version of this? That'd be amazing.

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.