All Projects β†’ leafo β†’ Streak.club

leafo / Streak.club

Licence: other
a website for running creative streaks

Projects that are alternatives of or similar to Streak.club

Online Bling
Stars: ✭ 9 (-91.74%)
Mutual labels:  postgresql, website
Webapp.rs
A web application completely written in Rust. 🌍
Stars: ✭ 1,888 (+1632.11%)
Mutual labels:  postgresql, website
Analytics
Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Stars: ✭ 9,469 (+8587.16%)
Mutual labels:  postgresql, website
Elefant
Elefant, the refreshingly simple PHP CMS and web framework.
Stars: ✭ 188 (+72.48%)
Mutual labels:  postgresql, website
Coyote
4programmers.net
Stars: ✭ 61 (-44.04%)
Mutual labels:  postgresql, website
Pokemon
A PokΓ©mon API that was made with .NET Core and the frontend with React.
Stars: ✭ 105 (-3.67%)
Mutual labels:  postgresql
Express Postgres Starter
A starter project for Node.js with Express and Postgres running on Docker Compose
Stars: ✭ 107 (-1.83%)
Mutual labels:  postgresql
Pg flame
A flamegraph generator for Postgres EXPLAIN ANALYZE output.
Stars: ✭ 1,391 (+1176.15%)
Mutual labels:  postgresql
Vue2 Shop
A shop developed with Vue2 + Vue-router + Axios + Vuex + Node + Express + MongoDB + Webpack
Stars: ✭ 103 (-5.5%)
Mutual labels:  website
Ng Admin Postgrest
Demo of an integration between ng-admin and PostgREST
Stars: ✭ 108 (-0.92%)
Mutual labels:  postgresql
Flatpress
FlatPress is a lightweight, easy-to-set-up flat-file blogging engine.
Stars: ✭ 107 (-1.83%)
Mutual labels:  website
Pg stat kcache
Gather statistics about physical disk access and CPU consumption done by backends.
Stars: ✭ 106 (-2.75%)
Mutual labels:  postgresql
Postguard
πŸ› Statically validate Postgres SQL queries in JS / TS code and derive schemas.
Stars: ✭ 104 (-4.59%)
Mutual labels:  postgresql
Spring Kotlin Exposed
playground for spring-boot 2.*, kotlin , jetbrains-exposed, postgres, jsonb, flyway, docker
Stars: ✭ 106 (-2.75%)
Mutual labels:  postgresql
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (-4.59%)
Mutual labels:  postgresql
Real World Grading App
An example of a real-world REST API backend built with TypeScript, Hapi, Prisma, and PostgreSQL.
Stars: ✭ 105 (-3.67%)
Mutual labels:  postgresql
Memcode
Flashcards: for coders and scientists.
Stars: ✭ 104 (-4.59%)
Mutual labels:  website
Portfolio one Page Template
Free responsive one page portfolio template
Stars: ✭ 106 (-2.75%)
Mutual labels:  website
Thunder Distribution
A Drupal 8 based platform for professional publishers
Stars: ✭ 107 (-1.83%)
Mutual labels:  website
Webtorrent.io
The code that runs the WebTorrent website
Stars: ✭ 106 (-2.75%)
Mutual labels:  website

Streak Club

test

A site for doing creative streaks of any kind. See it live: http://streak.club

Twitch Link

Powered by:

How To Run Locally

The development environment has only been tested on Linux. It may be easiest to run the development environment within Docker.

Install the following dependencies:

Clone and navigate into this repository:

git clone [email protected]:leafo/streak.club.git
cd streak.club

Run these commands to install dependencies and build:

luarocks build --only-deps --server=https://luarocks.org/dev
npm install
tup init
tup

Create the schema and run the migrations:

make init_schema
make migrate

Start the server:

lapis server

Now http://localhost:8080 should load.

If you edit any moon, scss, coffee, etc. files then runtup to incrementally rebuild the changes. You can run tup monitor -a in the background to watch the filesystem to rebuild automatically when saving a file.

Running tests

This site uses Busted for its tests:

make test_db
busted

The make test_db command will copy the schema of the streakclub local database into a freshly created test database (named streakclub_test). You'll only need to run this command once and the beginning any any time the schema has changed.

Note: Migrations don't need to be run on the test database because you'll run them on the development database then transfer the schema over to the test database using make test_db.

Setting up Google Cloud Storage

In production all files are stored on Google Cloud Storage. With no configuration (default), files are stored on the file system using the storage bucket mock provided by the cloud_storage rock.

To configure cloud_storage to talk to a live bucket make a file secret/storage_bucket.moon, it must return a bucket instance. It might look something like:

-- secret/storage_bucket.moon
import OAuth from require "cloud_storage.oauth"
import CloudStorage from require "cloud_storage.google"

o = OAuth "[email protected]", "PRIVATEKEY.pem"
CloudStorage(o, "PROJECT_ID")\bucket "BUCKET_NAME"

Setting up email

If you want to test sending emails you'll have to provide Mailgun credentials. Create a file secret/email.moon and make it look something like this: (it must return a table of options)

{ -- secret/email.moon
  key: "api:key-MY_KEY"
  domain: "streak.club"
  sender: "StreakClub <[email protected]>"
}

License

GPLv2 - Leaf Corcoran 2021

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].