All Projects → rust-lang-nursery → Thanks

rust-lang-nursery / Thanks

Licence: other
The first version of thanks.rust-lang.org, succeeded by rust-lang/thanks

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Thanks

Linuxcontainers.org
The linuxcontainers.org website
Stars: ✭ 76 (-20.83%)
Mutual labels:  website
Blog
Source for my blazing fast blog
Stars: ✭ 83 (-13.54%)
Mutual labels:  website
30days30submits
This is a challenge that I took to boost my HTML, CSS & JS skills. I made 30 submits and they are basically some little components or js apps.
Stars: ✭ 87 (-9.37%)
Mutual labels:  website
Qbittorrent Website
qBittorrent website
Stars: ✭ 77 (-19.79%)
Mutual labels:  website
Quizzity
A fast-paced geography quiz
Stars: ✭ 80 (-16.67%)
Mutual labels:  website
Code Cookbook
The Haxe Code Cookbook - A community driven resource website for learning Haxe in practise
Stars: ✭ 84 (-12.5%)
Mutual labels:  website
Flutterwebsite
The flutter.dev website recreated in Flutter. https://gallery.codelessly.com/flutterwebsites/flutterwebsite
Stars: ✭ 76 (-20.83%)
Mutual labels:  website
Openjdk Website
Website source
Stars: ✭ 86 (-10.42%)
Mutual labels:  website
Binari
Interactive code editor with a live binary tree visual designed to teach new developers the fundamentals of dynamic programming.
Stars: ✭ 82 (-14.58%)
Mutual labels:  website
Minetest.github.io
Official Minetest website hosted by Github Pages
Stars: ✭ 85 (-11.46%)
Mutual labels:  website
Swiftlinkpreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
Stars: ✭ 1,216 (+1166.67%)
Mutual labels:  website
Awesome Blogdown
An awesome curated list of blogs built using blogdown
Stars: ✭ 80 (-16.67%)
Mutual labels:  website
Elementsproject.org
Source code for the ElementsProject.org website
Stars: ✭ 84 (-12.5%)
Mutual labels:  website
Ascii Generator.site
Django website for generating ASCII-arts out of images or text 🎨
Stars: ✭ 77 (-19.79%)
Mutual labels:  website
Job Web Demo
Python Web 实战项目,Flask + Jinja2 + Bootstrap 开发的招聘网站
Stars: ✭ 87 (-9.37%)
Mutual labels:  website
Site Webdev
Source for webdev.dartlang.org
Stars: ✭ 76 (-20.83%)
Mutual labels:  website
Popcorn Site
Website EXPRESS.js + I18next
Stars: ✭ 84 (-12.5%)
Mutual labels:  website
Next Offline
make your Next.js application work offline using service workers via Google's workbox
Stars: ✭ 1,306 (+1260.42%)
Mutual labels:  website
Snapcraft.io
Stars: ✭ 87 (-9.37%)
Mutual labels:  website
Wagtail Torchbox
Wagtail build of Torchbox.com
Stars: ✭ 84 (-12.5%)
Mutual labels:  website

Thanks!

Build Status

This web application shows people who have contributed to Rust.

Setup

You need stable Rust to run Thanks.

Get the app set up. You'll need postgres installed. And sqlite3 headers I think.

Clone it:

$ git clone https://github.com/rust-lang-nursery/thanks
$ cd thanks

Set up the database URL. Replace this with whatever credentials you need.

$ cp .env.sample .env

Inspect it to make sure it's set up the right way; only you can know what's up with your local postgres install.

Build it:

$ cargo install diesel_cli --no-default-features --features postgres
$ diesel setup
$ cargo build

Clone down the Rust repository somewhere. I put mine in ~/src:

$ cd ~/src
$ git clone https://github.com/rust-lang/rust

Import data from the repo:

$ cd - # go back to our app
$ cargo run --bin populate -- \
    --name Rust \
    --github rust-lang/rust \
    --url https://github.com/rust-lang/rust/ \
    --path ~/src/rust # or wherever you put the Rust source

This will take a few minutes. At the time of writing, Rust has about 61,000 commits that will need to be processed.

Run the server:

$ cargo run --bin thanks

Open your browser to the URL shown.

Other stuff

To access the database from the commannd line:

psql -p 5432 -h localhost -U postgres -d thanks

If you have the database with the old name (rust_contributors or any other), you have two options:

  • use the old name in the above command, or:
  • run psql -p 5432 -h localhost -U postgres, rename the database by running ALTER DATABASE rust_contributors RENAME TO thanks and edit .env file to use the new name.

If you're working on the populate binary, it's useful to be able to quickly drop your local database:

$ cargo run --bin the-big-red-button -- --all

You can also delete only one project by passing --name NAME option.

When it's time for a new release,

$ cargo run --bin new-release -- --name Rust --version 1.15.0 --path ~/src/rust # or wherever your Rust is --link http://link/to/changelog

As often as you want to update, run

$ cargo run --bin update-commit-db

This will hit GitHub's API instead of using a local checkout of Rust, as it is assumed that this will run on the server, and we don't want to do a full git checkout there.

To hide someone from the page, you can run opt-out binary (append an extra --opt-in option to that if you want to revert the change)):

cargo run --bin opt-out -- --email [email protected]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].