mariusor / brutalinks

Link aggregator inspired by (old)reddit using ActivityPub federation. (mirror repository)
https://brutalinks.tech
MIT License
261 stars 12 forks source link

Layout is undefined #1

Closed ghost closed 6 years ago

ghost commented 6 years ago

I run the main.go.. Server starts up but the Web gui does not work. In the browser i get:

html/template: "layout" is undefined
html/template: "layout" is undefined

DO i need to embed the assets first ?

mariusor commented 6 years ago

Whoa... :) My very first bug ticket for this project.


The problem might be if you're trying to run the application from some other working directory than the project root.

Usually when I test I use something like:

$ ./run.sh main.go

The run.sh script takes care of importing into the running environment the entries from your .env file. (Latest commits should have an .env.example to get you started)

All these being said, I don't think this project is anywhere close to a state where it can be used by people, please don't get your hopes too much up. :)

And, for closing: thank you for your interest. If you want, you can keep an eye on the bug tracker, as I'm planning to add a series of milestones and tickets that might shed some light on the status of development and where I want to go next.

ghost commented 6 years ago

Ok I need to use run.sh. my mistake.

Thanks :)

On Wed, 8 Aug 2018, 12:46 Marius Orcsik, notifications@github.com wrote:

Whoa... :) My very first bug ticket for this project.

The problem might be if you're trying to run the application from some other working directory than the project root.

Usually when I test I use something like:

$ ./run.sh main.go

The run.sh script takes care of importing into the running environment the entries from your .env file. (Latest commits should have an .env.example to get you started)

All these being said, I don't think this project is anywhere close to a state where it can be used by people, please don't get your hopes too much up. :)

And, for closing: thank you for your interest. If you want, you can keep an eye on the bug tracker, as I'm plannign to add a series of milestones and tickets that might shed some light on the status of development and where I want to go next.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mariusor/littr.go/issues/1#issuecomment-411364926, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuCwgUya2_c3Tmt6J6j7y-BnSRGIPW7ks5uOsGLgaJpZM4VwDuy .

ghost commented 6 years ago

Yes roadmap would be good.

On Wed, 8 Aug 2018, 13:16 Ged Wed, gedw99@gmail.com wrote:

Ok I need to use run.sh. my mistake.

Thanks :)

On Wed, 8 Aug 2018, 12:46 Marius Orcsik, notifications@github.com wrote:

Whoa... :) My very first bug ticket for this project.

The problem might be if you're trying to run the application from some other working directory than the project root.

Usually when I test I use something like:

$ ./run.sh main.go

The run.sh script takes care of importing into the running environment the entries from your .env file. (Latest commits should have an .env.example to get you started)

All these being said, I don't think this project is anywhere close to a state where it can be used by people, please don't get your hopes too much up. :)

And, for closing: thank you for your interest. If you want, you can keep an eye on the bug tracker, as I'm plannign to add a series of milestones and tickets that might shed some light on the status of development and where I want to go next.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mariusor/littr.go/issues/1#issuecomment-411364926, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuCwgUya2_c3Tmt6J6j7y-BnSRGIPW7ks5uOsGLgaJpZM4VwDuy .