Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjcarstens/nerves_tips
Website for display and managing tips for nerves-project.org
https://github.com/jjcarstens/nerves_tips
hacktoberfest
Last synced: about 2 months ago
JSON representation
Website for display and managing tips for nerves-project.org
- Host: GitHub
- URL: https://github.com/jjcarstens/nerves_tips
- Owner: jjcarstens
- Created: 2021-04-16T15:28:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T02:51:59.000Z (about 2 years ago)
- Last Synced: 2024-10-19T14:04:50.121Z (3 months ago)
- Topics: hacktoberfest
- Language: Elixir
- Homepage: https://tips.nerves-project.org
- Size: 198 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NervesTips
https://tips.nerves-project.org
# Setup
`NervesTips` has a public page for displaying published tips and an admin
page for managing a queue of to-be-released tips. The admin page is
behind Github OAuth application authentication and requires users be
explicitly added in order to accept the authentication:```elixir
iex> user = NervesTips.Schema.User.changeset(%NervesTips.Schema.User{}, %{nickname: "jjcarstens"})
iex> NervesTips.Repo.insert(user)
{:ok, _user}
```Then add these for Github OAuth to work:
```elixir
config :ueberauth, Ueberauth.Strategy.Github.OAuth,
client_id: "my_client_id",
client_secret: "my_client_secret"
```The Github OAuth application callback should be set to `/auth/github/callback`