Restyled.io
Clone or download
pbrisbin Build Cabal separately in setup
This should help avoid out-of-memory of CI.
Latest commit 7b48777 Jan 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Bump CI cache Jan 18, 2019
app Get rid of the rest of yesod-devel Jun 4, 2018
backend Add missing Prelude imports Mar 31, 2018
bin Tweak repository tooling Oct 12, 2018
config Let users exist without an email Nov 15, 2018
db Add one-offs and mark prod as migrated Dec 3, 2018
docker/files Support DOCKER_HOST setup in entrypoint Oct 11, 2018
fixtures/webhooks Tweak repository tooling Oct 12, 2018
logos Straiten out logo files Jun 2, 2018
src Update to LTS-13.3 Jan 18, 2019
static Revert "Revert "Style the login page"" Sep 18, 2018
templates Let users exist without an email Nov 15, 2018
test Update to LTS-13.3 Jan 18, 2019
.dir-locals.el Initial yesod-postgres template Aug 15, 2017
.dockerignore Copy config/revision directly from .git Dec 28, 2018
.env.example Revert "Revert "Make GitLab support optional"" Sep 18, 2018
.env.test Revert "Revert "Make GitLab support optional"" Sep 18, 2018
.gitignore Add .env.example May 24, 2018
.restyled.yaml Sprinkle JavaScript Jul 27, 2018
.stylish-haskell.yaml Add Repo views in Admin May 11, 2018
.weeder.yaml Add authorization, admins, and admin/signups Oct 21, 2017
CHANGELOG.md Add README Aug 28, 2017
Dockerfile Update to LTS-13.3 Jan 18, 2019
LICENSE Switch to Commons Clause licensing Oct 13, 2018
Makefile Build Cabal separately in setup Jan 18, 2019
README.md Switch to Commons Clause licensing Oct 13, 2018
docker-compose.yml Add docker-compose for postgres/redis Oct 19, 2017
package.yaml Update to LTS-13.3 Jan 18, 2019
stack.yaml Update to LTS-13.3 Jan 18, 2019

README.md

restyled.io

Website and backend for Restyled, https://restyled.io.

Development & Testing

  1. Start persistence services

    docker-compose up -d
  2. Create and seed the database, install dependencies:

    make db.create db.seed setup
  3. Build, test, and lint the application:

    make

    From here, you can use any stack-based development work-flow.

  4. Run (just) the website:

    make watch

    Visit http://localhost:3000.

End-to-end Processing

To process real restyled-io/demo Pull Requests:

  1. Ensure you have the latest restyler Docker image

    (cd ../restyler && make image.build)

    Individual Restylers will be pulled as needed.

  2. Run the website and backend

    make watch
    stack exec restyled.io-backend
  3. Run ngrok

    ngrok http -subdomain restyled 3000

    Visit https://restyled.ngrok.io.

  4. Open a PR on restyled-io/demo, or re-deliver an existing Webhook.

This process assumes the following:

  1. You have access to the development GitHub App and have configured your .env
  2. You have authenticated ngrok to use the restyled subdomain

Deployment & Self-Hosting

See restyled-ops.

LICENSE

Restyled is source-available, Commons Claused licensed. For a detailed description of another project's rationale for this licensing model, one with which I agree, see here.


CHANGELOG | LICENSE