Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thibaudcolas/draftail-playground

Try Draftail in a full-fledged preview environment
https://github.com/thibaudcolas/draftail-playground

create-react-app draft-js draftail draftjs-exporter draftjs-utils flask heroku

Last synced: 2 months ago
JSON representation

Try Draftail in a full-fledged preview environment

Awesome Lists containing this project

README

        

# [Draftail Playground](https://playground.draftail.org/) [![Build status](https://github.com/thibaudcolas/draftail-playground/workflows/CI/badge.svg)](https://github.com/thibaudcolas/draftail-playground/actions)

> Try [Draftail](https://www.draftail.org/) in a full-fledged [preview environment](https://playground.draftail.org/).

[![Screenshot of the playground](https://playground.draftail.org/static/draftail-playground-screenshot.png)](https://playground.draftail.org/)

## Install

From the command-line:

```sh
git clone [email protected]:thibaudcolas/draftail-playground.git
cd draftail-playground
virtualenv -p python3.7 .venv
source ./.venv/bin/activate
pip install -r requirements.txt
nvm install
# Then, install all project dependencies.
npm install
npm run start
./.githooks/deploy.sh
```

## Working on the project

> Everything mentioned in the installation process should already be done.

```sh
# Make sure you use the right node version.
nvm use
# Start the server and the development tools.
npm run start
# Builds frontend assets.
npm run build
# View other available commands with:
npm run
```

## Deployment

> The demo is [on Vercel](https://playground.draftail.org/).