Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Phoenix framework #366

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion phoenix.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Phoenix
category: Elixir
layout: 2017/sheet
weight: -1
updated: 2017-09-04
updated: 2018-01-15
---

### Quick start
Expand All @@ -19,6 +19,11 @@ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_
mix phx.new hello
```

```bash
# Start the application
mix phx.server
```

Install Erlang, Elixir, Node.js, PostgreSQL first.
See: [Installation](https://hexdocs.pm/phoenix/installation.html) _(hexdocs.pm)_

Expand Down
29 changes: 21 additions & 8 deletions phoenix@1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,34 @@ title: Phoenix 1.2
category: Elixir
layout: 2017/sheet
weight: -1
updated: 2017-09-04
updated: 2018-01-15
---

See [Phoenix](./phoenix) for a more updated cheatsheet.

### Directory structure (Legacy 1.2)

```
config/
web/
controllers/
models/
views/
templates/
static/
├── _build
├── config/
├── deps/
├── lib/
│ ├── hello/
│ ├── hello.ex
├── node_modules/
├── priv/
├── test/
└── web/
│ ├── channels/
│ ├── controllers/
│ ├── models/
│ ├── static/
│ ├── templates/
│ ├── views/
│ ├── gettext.ex
│ ├── router.ex
│ ├── web.ex
├── mix.exs
```

This is Phoenix 1.2's structure. Phoenix 1.3 has no `models`.