No description or website provided.
JavaScript CSS Other
Permalink
Failed to load latest commit information.
.kage kage: Update manifests to use jinja2 for variables Sep 19, 2016
assets Add support for 7 new interstitial variants. (#935) Dec 21, 2016
hooks Add pre-commit, pre-push hooks May 26, 2016
src Fix nsfw preview images from gfycat Jan 13, 2017
test Try to replace Reddit-hosted GIFs with MP4s during preview playback (#… Dec 20, 2016
.ackrc Add .ackrc Sep 8, 2016
.dockerignore Put Varnish in front of Node server via docker-compose. Sep 15, 2016
.drone.yml Move the drone messages from #frontend-platform to #mobile-web Oct 3, 2016
.eslintrc Add statsd, and request and response error code stats Sep 2, 2016
.gitignore Add acceptance test suite for VCL rules. Sep 26, 2016
.gitmodules Remove art-gallery submodule Jun 15, 2016
.travis.yml Pass linter; add test command May 26, 2016
Dockerfile.dev Pull base images from Quay instead of Docker Hub. Sep 16, 2016
Dockerfile.staging Switch to branch and implement cross promotion experiment variants Nov 18, 2016
Dockerfile.varnish Mount default VCL instead of copying over. Oct 17, 2016
blueprints.config.js Add STATIC_BASE to the blueprints. (#943) Dec 22, 2016
default.vcl Fix VCL regexes to support parameters and/or subreddit searches. Nov 2, 2016
docker-compose.yml Mount default VCL instead of copying over. Oct 17, 2016
package.json Add spoiler flair for spoiler posts Jan 12, 2017
readme.md Move start.sh example from readme to start.sh.example Dec 14, 2016
start.sh.example Move start.sh example from readme to start.sh.example Dec 14, 2016
tox.ini Add acceptance test suite for VCL rules. Sep 26, 2016

readme.md

Quick start

  1. Install npm dependencies: git submodule init && git submodule update && npm install
  2. Build: npm run build (optionally watch for updates with npm run watch)
  3. Run:
    • dev: npm run dev-server
    • production: npm run server
  4. Visit http://localhost:4444/

Configuring your dev environment

cp start.sh.example start.sh
chmod u+wx start.sh
vim start.sh  # Add secret keys for your reddit install

start.sh is automatically ignored by git. DO NOT EDIT start.sh.example

After creating start.sh, you can start your dev server by calling ./start.sh from the command line.