Skip to content
Try Draftail in a full-fledged preview environment
TypeScript JavaScript HTML CSS Python Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.githooks Update git hooks Aug 15, 2019
.github
public
src Reformat existing files with Prettier Aug 15, 2019
.editorconfig
.env
.env.production
.gitignore
.isort.cfg
.nvmrc
.prettierignore Reformat existing files with Prettier Aug 15, 2019
.travis.yml Stop using prepare for git hooks Aug 16, 2019
LICENSE Start work on a full-featured Draftail playground Mar 2, 2018
Procfile Prepare app for Heroku Nov 18, 2016
README.md Stop using prepare for git hooks Aug 16, 2019
app.py Update to latest Flask Mar 26, 2019
decorators.py Reformat all Python code with Black Mar 26, 2019
markdown.py Reformat all Python code with Black Mar 26, 2019
package-lock.json
package.json Update dependency @types/styled-components to v4.1.19 (#17) Sep 11, 2019
prettier.config.js Extract Prettier to a separate file Mar 26, 2019
pyproject.toml Set up black as a Python formatter Mar 26, 2019
requirements.txt
runtime.txt Update to Python 3.7 Mar 26, 2019
tsconfig.json Reformat existing files with Prettier Aug 15, 2019

README.md

Draftail Playground Build Status

Try Draftail in a full-fledged preview environment.

Screenshot of the playground

Install

From the command-line:

git clone git@github.com: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.

# 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 Heroku.

It uses two buildpacks: heroku/nodejs and heroku/python, and is configured to automatically deploy after each push on master.

You can’t perform that action at this time.