faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
<FromGitter> <mondrian> I am testing the amber framework in macOS .
<FromGitter> <mondrian> The command amber new not generate the folder public/dist ⏎ Can someone help me?
<FromGitter> <andrewc910> That's weird? Does it generate the rest of the app?
<FromGitter> <mondrian> I have used this commands
<FromGitter> <andrewc910> @mondrian crystal lang is the wrong place to ask. I understand the try. Just letting you know!
<FromGitter> <mondrian> amber new pet-tracker ⏎ cd pet-tracker ⏎ shards install ⏎ amber generate scaffold Pet name:string breed:string age:integer [https://gitter.im/amberframework/amber?at=5e64433d95b8ff0bbf9fa74c]
<FromGitter> <andrewc910> If you put into terminal `amber` does it state anything? Like the cli helper or just "no command found"?
<FromGitter> <mondrian> the app if generated perfectly
<FromGitter> <mondrian> but, without the folder public/dist
<FromGitter> <andrewc910> You shouldn't have to do `shards install` as `amber new` does that for you. But nonetheless, everything should work.
<FromGitter> <andrewc910> What happens when you run `amber watch` and play around in a browser?
<FromGitter> <mondrian> yes
<FromGitter> <andrewc910> Does webpack generate the public folder?
<FromGitter> <mondrian> public folder yes
<FromGitter> <mondrian> but no subfolder public/dist
<FromGitter> <andrewc910> Can you make a public/dist folder? What's the actual problem?
<FromGitter> <mondrian> 01:01:28 Error: 404 | (WARN) The request was not found. GET - /dist/main.bundle.css ⏎ 01:01:28 Error: 404 | (WARN) The request was not found. GET - /dist/images/logo.svg ⏎ 01:01:28 Error: 404 | (WARN) The request was not found. GET - /dist/main.bundle.js
<FromGitter> <mondrian> the app require this js and css
<FromGitter> <mondrian> to run correctly
<FromGitter> <mondrian> without this the delete action not run
<FromGitter> <andrewc910> Just looked at the template. You're correct, it doesn't generate a dist folder, only a public folder.
<FromGitter> <andrewc910> Webpack should make that folder for you. When working with my shard, I have noticed sometimes Webpack fails and no css/js is included.
<FromGitter> <mondrian> hum
<FromGitter> <mondrian> how can i solve this?
<FromGitter> <andrewc910> Try generating a new app. Totally different name. If CSS/js is working, you should have an orange navbar
<FromGitter> <andrewc910> If a core dev can chime in, that would be awesome. Idk Mac. I use Linux. But Mac should work fine. My gf has a couple you apps that work fine on macos.
<FromGitter> <mondrian> 01:06:38 Generate | (INFO) new public/crossdomain.xml ⏎ 01:06:38 Generate | (INFO) new public/favicon.ico ⏎ 01:06:38 Generate | (INFO) new public/favicon.png ⏎ 01:06:38 Generate | (INFO) new public/js/client_reload.js ⏎ 01:06:38 Generate | (INFO) new public/robots.txt [https://gitter.im/amberframework/amber?at=5e64457302dbe022a1726c09]
<FromGitter> <mondrian> ok
<FromGitter> <andrewc910> Worked this time?
<FromGitter> <mondrian> no
<FromGitter> <mondrian> generate only this files
<FromGitter> <mondrian> 01:06:38 Generate | (INFO) new public/crossdomain.xml ⏎ 01:06:38 Generate | (INFO) new public/favicon.ico ⏎ 01:06:38 Generate | (INFO) new public/favicon.png ⏎ 01:06:38 Generate | (INFO) new public/js/client_reload.js ⏎ 01:06:38 Generate | (INFO) new public/robots.txt [https://gitter.im/amberframework/amber?at=5e6447d58e42396957746721]
<FromGitter> <andrewc910> Hmm what version of Mac os are you? How did you install crystal/amber? If I get the chance, I'll install a VM and try
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
<FromGitter> <drum445> How do I fix this: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5e652d31a2ccef3232ddf69d]
<FromGitter> <drum445> I am following the guide here: https://docs.amberframework.org/amber/guides/controllers/sessions
<FromGitter> <Blacksmoke16> `Last updated 2 years ago` seems slightly out of date :p
<FromGitter> <drum445> haha, good point
<FromGitter> <drum445> How do I overwrite those?
<FromGitter> <Blacksmoke16> :shrug:
<FromGitter> <drum445> lol
<FromGitter> <Blacksmoke16> Are now out of my domain of knowledge
<FromGitter> <drum445> Thanks anyway. Does anyone else know how to change the session config?
<FromGitter> <Blacksmoke16> Oh wait, to be clear that was a spec helper, so I imagine you just do that but with your own values
<FromGitter> <drum445> Yeah, just looked and this works ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5e6535918e42396957766129]
<FromGitter> <Blacksmoke16> 👍