Skip to content

Update getting started to match latest edge#247

Open
SevereOverfl0w wants to merge 1 commit intojuxt:masterfrom
SevereOverfl0w:master
Open

Update getting started to match latest edge#247
SevereOverfl0w wants to merge 1 commit intojuxt:masterfrom
SevereOverfl0w:master

Conversation

@SevereOverfl0w
Copy link
Contributor

I dropped the swagger section for now. I think this needs more
consideration in the config.edn-driven world.

Copy link

@cldwalker cldwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the example today on osx and noted a couple differences. Two of the differences that need to be updated throughout this PR are the port number and the generated namespace. Would be great to get this in soon

At the 'user=>' prompt enter '(dev)', then '(go)' to start a server listening by default on port 3000.

....
user=> (dev)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't exist for my version. I got Syntax error compiling at (REPL:1:1)

#object[clojure.lang.Namespace 0x7b598d05 "dev"]
dev=> (go)
[Edge] Website can be browsed at http://localhost:3000/
[Edge] Website listening on: http://localhost:3000

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generated app defaulted to http://localhost:7272

=== Locate the source code

Fire up an editor and load up the file `src/edge/hello.clj`.
Fire up an editor and load up the file `src/yada/manual/app/foo.clj`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My app had the file src/yada/manual/app/core.clj generated


[WARNING]
====
Swagger is not set up this easily in edge any more, this section is out of date.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bummer. This was the part I was interested in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants