Recipe for deploying to Glitch from an orphan branch
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
scripts
src
DEPLOY.md
README.md
bsconfig.json
package.json
server.js
webpack.config.js
yarn.lock

README.md

Cool Character Generator

Deployed to: https://cool-char-generator.glitch.me/

This is a simple ReasonReact app that randomly generates visually interesting characters from various writing systems. It makes use of the Material-UI React component library via the @jsiebern/bs-material-ui bindings.

This project cannot run directly on Glitch because the Reason toolchain cannot be installed there. However, the compiled JavaScript files can be imported into Glitch by way of a default orphan branch. See the deploy recipe for more details.

Prerequisites

yarn global add bs-platform
yarn install

Scripts

Start the server (only used on Glitch)

npm start

Run the auto-reloading development server and automatically recompile .re files

yarn dev

Build

yarn build

Build for production

yarn build:production

Run auto-reloading development server

yarn server

Publish to orphan branch on GitHub

yarn publish-branch

Clean compiled files and the gh-pages cache

yarn clean