This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
forked from themarshallproject/klaxon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed merge conflict related to bump to ruby 2.3.4
- Loading branch information
Showing
34 changed files
with
342 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
2.3.1 | ||
|
||
2.3.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
# Running Klaxon with Docker | ||
|
||
*This guide is a work in progress.* | ||
## Development Quickstart | ||
|
||
1. Run the following commands: | ||
|
||
``` | ||
docker-compose up -d database | ||
docker-compose build app | ||
docker-compose run app rake db:create db:migrate | ||
docker-compose run app rake users:create_admin | ||
docker-compose up app | ||
open http://localhost:3000 | ||
``` | ||
|
||
2. Enter '[email protected]' in the email window. It should redirect you to a page that says: "Email Sent". | ||
|
||
3. In the console find where it says "Go to Dashboard ( ... )" and copy and paste the link into the browser. | ||
|
||
4. You'll now be logged in. The page should say "Watch Your First Item". | ||
|
||
## Expected environmental variables | ||
|
||
|
@@ -20,10 +37,10 @@ If you would like to use [Amazon SES](https://aws.amazon.com/ses/) instead to se | |
DATABASE_URL= | ||
SECRET_KEY_BASE= | ||
ADMIN_EMAILS= | ||
SMTP_PROVIDER=AMAZON_SES | ||
AMAZON_SES_ADDRESS= | ||
AMAZON_SES_USERNAME= | ||
AMAZON_SES_PASSWORD= | ||
AMAZON_SES_DOMAIN= | ||
EMAIL_FROM_ADDRESS= | ||
SMTP_PROVIDER=SES | ||
SES_ADDRESS= | ||
SES_USERNAME= | ||
SES_PASSWORD= | ||
SES_DOMAIN= | ||
MAILER_FROM_ADDRESS= | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
source 'https://rubygems.org' | ||
ruby '~> 2.3.0' | ||
|
||
ruby '2.3.4' | ||
|
||
gem 'rails', '4.2.5.1' | ||
gem 'pg', '~> 0.15' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -309,7 +309,9 @@ DEPENDENCIES | |
webmock | ||
|
||
RUBY VERSION | ||
ruby 2.3.2p217 | ||
|
||
ruby 2.3.4p301 | ||
|
||
|
||
BUNDLED WITH | ||
1.13.6 | ||
1.14.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# News organizations using Klaxon | ||
|
||
* Associated Press | ||
* Austin American-Statesman | ||
* Axios | ||
* Dallas Morning News | ||
* FiveThirtyEight | ||
* Fusion | ||
* Gizmodo | ||
* KBIA, in Columbia, Mo. | ||
* The Marshall Project | ||
* NBC Los Angeles | ||
* The New York Times | ||
* Omaha World-Herald | ||
* ProPublica | ||
* Reveal from the Center for Investigative Reporting | ||
* SBS News, Australia | ||
* Seattle Times | ||
* Texas Tribune | ||
* Verdens Gang AS in Oslo, Norway | ||
* Vermont Public Radio | ||
* Washington Post | ||
|
||
If you know of others who are finding Klaxon useful, please let us know with an email to klaxon-reports[at]themarshallproject[dot]org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="klax-section klax-spacer-lg"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<form class="form-horizontal" method="POST" action="<%= create_session_path(return_to: params[:return_to]) %>"> | ||
<input name="authenticity_token" value="<%= form_authenticity_token %>" type="hidden"> | ||
<div class="form-group form-group-lg"> | ||
<div class="col-md-3"> | ||
</div> | ||
<label class="col-sm-1">Email</label> | ||
<div class="col-md-5"> | ||
<div class="input-group"> | ||
<input name="email" class="form-control" value="<% if @user != nil %><%= @user.email %><% end %>" type="text" id="formGroupInputLarge"> | ||
<span class="input-group-btn"> | ||
<button class="btn btn-default btn-lg" type="submit">Login</button> | ||
</span> | ||
</div> | ||
</div> | ||
<div class="col-md-3"> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<style> | ||
#navbar { display: none !important; } | ||
</style> | ||
|
||
<div class="klax-section klax-topper"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h1>Klaxon Login Expired</h1> | ||
</div> | ||
</div> | ||
<div class="col-md-12"> | ||
<p class="lead">The login or invitation for <%= @user.email %> has expired. Please request a new invitation below.</p> | ||
</div> | ||
<%= render 'sessions/login_form.html.erb' %> | ||
</div><!-- /.container --> | ||
</div> |
Oops, something went wrong.