Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
/ dpaper-to-esa Public archive

Import script from Dropbox Paper to esa.io

Notifications You must be signed in to change notification settings

mmyoji/dpaper-to-esa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dropbox Paper to esa

Import data from Dropbox Paper (exported as Markdown) to esa.

Usage

  • Your exported files must be under docs/ of this project.
  • You need following values:
    • ACCESS_TOKEN: esa Personal access token (from https://<team_name>.esa.io/user/applications)
    • TEAM_NAME: Your esa Team name (subdomain)
    • DRY_RUN: For dry run

Run on Docker

$ cp .env.example .env
# Edit the Environment variables
$ vi .env

$ docker run -it --rm -v "$PWD":/usr/src/app \
  -w /usr/src/app \
  --env-file=.env \
  ruby:2.5.3-alpine \
  ruby import.rb

Run locally

# dry run
$ ACCESS_TOKEN=xxx TEAM_NAME=yyy DRY_RUN=1 ruby import.rb

$ ACCESS_TOKEN=xxx TEAM_NAME=yyy ruby import.rb

About

Import script from Dropbox Paper to esa.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages