Add "Contributing" page

openid
Marcin Kulik 11 years ago
parent e2e117ce84
commit d8de171f66

@ -63,6 +63,11 @@ The background job processor is needed for thumbnail generation.
$ bundle exec sidekiq
## Contributing
If you want to contribute to this project check out
[Contributing](http://asciinema.org/contributing) page.
## Authors
Developed with passion by [Marcin Kulik](http://ku1ik.com) and great open

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -12,4 +12,5 @@
*= require users
*= require preview
*= require player
*= require contributing
*/

@ -0,0 +1,12 @@
.bitcoin-logo
width: 32px
margin-right: 10px
#paypal-form
.button
margin-right: 15px
vertical-align: middle
span
vertical-align: middle
margin-right: 10px

@ -14,7 +14,7 @@
small by #{@asciicast.author_link} #{time_ago_tag @asciicast.created_at}
.col-md-4.col-xs-4.text-right
= render 'add_this', title: @asciicast.title, url: asciicast_url(@asciicast)
= render 'shared/add_this', title: @asciicast.title, url: asciicast_url(@asciicast)
section.even.meta
.container

@ -20,6 +20,10 @@
If technical details interest you then read more about
[how it works](#{docs_path('how-it-works')}).
## Contributing
Help the project by [contributing](#{contributing_path}) money or time.
## A bit of a history
Asciinema project was started by <a href="/~sickill">Marcin Kulik</a>

@ -0,0 +1,143 @@
- content_for(:title, 'Contributing to Asciinema')
.row.about
.col-md-8
h1 Contributing to the project
p
' Asciinema is open-source software and the service at asciinema.org is
made available free of charge to anyone. A lot of effort is put in this
project and it's developed exclusively in free time. If you find the
service useful, you think it's a great idea or you believe in giving
back to the open-source community please consider making a financial
donation or putting your time to improve the project.
p
' Supporting an open-source project feels great. And you can do it in
many ways. Here is a list of a few things you can do to show your
appreciation and help Asciinema.
h2 id="donating" Donating
p
' While the service is free of charge for anyone it still requires
servers, domains, SSL certificates, storage for backups and other
resources to keep it running.
p
' Consider a donation to help cover these costs. Be it once, be it
regularly, be it a small or a big amount. Even if it's just
enough for "a beer", your support helps running the service and
motivates future developments.
p
' You can choose from several options below to support Asciinema financially.
h3 Bitcoin
p
' Bitcoin is a decentralized peer-to-peer electronic crypto-currency.
Bitcoin is also a free way to send money overseas. If you would like to
donate some bitcoins to the project use the following address (you can
just click it if you use desktop bitcoin wallet).
p
= image_tag 'bitcoin-logo.png', class: 'bitcoin-logo'
a href="bitcoin:1GLaEx3cU5rzaMVhst1djCJvs5HK8PAsV4?amount=0.05&label=Asciinema%20donation" 1GLaEx3cU5rzaMVhst1djCJvs5HK8PAsV4
h3 Gittip
p
' Gittip is a way to give small weekly cash gifts to people you love and
are inspired by. And it's great for supporting open-source authors and
projects. To donate to Asciinema via gittip, click on the button below.
<script data-gittip-username="sickill" data-gittip-widget="button" src="//gttp.co/v1.js"></script>
h3 PayPal
p
' You can also donate money to the project through Asciinema's PayPal
account.
p
' If you click on the button below, you will be taken to the secure
PayPal Web site. You don't need to have a PayPal account in order to
make a donation.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" id="paypal-form">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="donations@asciinema.org">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="Asciinema development">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
<input type="image" class="button" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
<span>
<input type="radio" name="currency_code" value="USD" id="usd" checked><label for="usd">USD</label>
</span>
<span>
<input type="radio" name="currency_code" value="EUR" id="eur"><label for="eur">EUR</label>
</span>
<span>
<input type="radio" name="currency_code" value="PLN" id="pln"><label for="pln">PLN</label>
</span>
</form>
h2 id="packaging" Packaging
p
' Currently Asciinema recorder can be installed on any Linux, OSX and
FreeBSD system with <code>pip</code> (because it's a Python package at
its core). There are also native packages for Ubuntu and Arch Linux at
the moment.
p
' If you use an operating system for which there's no native asciinema
package and you know how to build one then don't hesitate, build it and
let us know.
h2 id="bug-reporting" Bug reporting
p
' All your bug reports and feature ideas are highly appreciated as they
help to improve the quality and functionality of Asciinema for everyone.
p
' As the service is built of 2 parts there are 2 separate bug trackers:
ul
li
a href="https://github.com/sickill/asciinema.org/issues" github.com/sickill/asciinema.org/issues
' - issues and ideas for the website / embedded player,
li
a href="https://github.com/sickill/asciinema/issues" github.com/sickill/asciinema/issues
' - issues and ideas for the command line recorder.
h2 id="spreading" Spreading the word
p
' Finally, you can help spreading the word about the project by telling
your friends about it. Tweet and blog about it or submit your
recordings to Reddit. We're
a href="https://twitter.com/asciinema" @asciinema
' on Twitter btw.
= render 'shared/add_this',
url: root_url,
title: 'Asciinema - Record and share your terminal sessions, the right way',
big: true
.col-md-4
h2 Contribute by:
ul.nav.nav-pills.nav-stacked
li
a href="#donating" Donating
li
a href="#packaging" Packaging
li
a href="#bug-reporting" Bug reporting
li
a href="#spreading" Spreading the word

@ -1,6 +1,5 @@
<% if CFG['ADD_THIS_PROFILE_ID'].present? %>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style !addthis_32x32_style" addthis:url="<%= url %>" addthis:title="<%= title %>">
<div class="addthis_toolbox addthis_default_style <%= 'addthis_32x32_style' if local_assigns[:big] %>" addthis:url="<%= url %>" addthis:title="<%= title %>">
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_reddit"></a>
@ -9,4 +8,3 @@
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<%= CFG['ADD_THIS_PROFILE_ID'] %>"></script>
<!-- AddThis Button END -->
<% end %>

@ -35,6 +35,7 @@ Asciinema::Application.routes.draw do
get '/about' => 'pages#show', page: :about, as: :about
get '/privacy' => 'pages#show', page: :privacy, as: :privacy
get '/tos' => 'pages#show', page: :tos, as: :tos
get '/contributing' => 'pages#show', page: :contributing, as: :contributing
mount JasmineRails::Engine => "/specs" unless Rails.env.production?

@ -2,7 +2,7 @@ require 'spec_helper'
feature "Static pages" do
scenario 'Visiting about page' do
scenario 'Visiting "about" page' do
visit about_path
within('.main') do
@ -26,4 +26,12 @@ feature "Static pages" do
end
end
scenario 'Visiting "contributing" page' do
visit contributing_path
within('.main') do
expect(page).to have_content(/Contributing/i)
end
end
end

Loading…
Cancel
Save