-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathTUTORIAL.txt
More file actions
91 lines (78 loc) · 3.1 KB
/
TUTORIAL.txt
File metadata and controls
91 lines (78 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Welcome and congratualtions!
Since you found this textfile, you have got off and landed on your feet!
This short tutorial goes through a few steps just to introduce the basic concepts.
First things first - the structure, location, and prerequisite.
The structure you just checked out looks like this (don't panic! :-) ):
.
└── absinthe_tutorial <-- we are here - this is the location of the tutorial root directory!
├── LICENSE.md
├── README.md
├── config
│ ├── config.exs
│ ├── dev.exs
│ ├── prod.exs
│ └── test.exs
├── lib
│ ├── blog
│ │ ├── accounts
│ │ │ ├── accounts.ex
│ │ │ ├── contact.ex
│ │ │ └── user.ex
│ │ ├── application.ex
│ │ ├── content
│ │ │ ├── content.ex
│ │ │ └── post.ex
│ │ └── repo.ex
│ ├── blog.ex
│ ├── blog_web
│ │ ├── channels
│ │ │ └── user_socket.ex
│ │ ├── context.ex
│ │ ├── endpoint.ex
│ │ ├── gettext.ex
│ │ ├── resolvers
│ │ │ ├── accounts.ex
│ │ │ └── content.ex
│ │ ├── router.ex
│ │ ├── schema
│ │ │ ├── account_types.ex
│ │ │ └── content_types.ex
│ │ ├── schema.ex
│ │ └── views
│ │ ├── error_helpers.ex
│ │ └── error_view.ex
│ └── blog_web.ex
├── mix.exs
├── mix.lock
├── priv
│ ├── gettext
│ │ ├── en
│ │ │ └── LC_MESSAGES
│ │ │ └── errors.po
│ │ └── errors.pot
│ └── repo
│ ├── migrations
│ │ ├── 20171024194851_create_users.exs
│ │ ├── 20171024194852_create_posts.exs
│ │ └── 20171024211706_create_contacts.exs
│ └── seeds.exs
└── test
├── blog_web
│ └── views
│ └── error_view_test.exs
├── support
│ ├── channel_case.ex
│ ├── conn_case.ex
│ └── data_case.ex
└── test_helper.exs
In order to be able to run this tutorial, you should already have the following installed:
Elixir - see https://elixir-lang.org or https://github.com/absinthe-graphql/absinthe
Absinthe - see https://github.com/absinthe-graphql/absinthe
----
From the tutorial root directory directory, you should now run the following commands to get you going:
#1
mix deps.get
followed by
#2
mix ecto.setup
Enjoy! 8=)