{"repo":"leafo/streak.club","free":true,"listed":false,"github":"https://github.com/leafo/streak.club","clone":"git clone https://github.com/leafo/streak.club.git","description":"a website for running creative streaks","language":"MoonScript","stars":153,"topics":["moonscript","lapis","postgresql","website"],"license":null,"category":"databases-storage","readme_excerpt":"Streak Club A site for doing creative streaks of any kind. See it live: 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: [Tup] [sassc] [discount] - or equivalent markdown executable. [PostgreSQL] [OpenResty] Clone and navigate into this repository: Run these commands to install dependencies and build: Create the schema and run the migrations: Start the server: Now http://localhost:8080 should load. If you edit any moon , scss , coffee , etc. files then run tup 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: 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 t","default_branch":null,"files":null,"tree":[],"storefront":"/r/leafo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leafo/streak.club/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}