Code Monkey home page Code Monkey logo

harrington-trees's Introduction

Harrington Trees

Treebanked commentaries by J. Matthew Harrington and students.

Try it Out

https://perseids-publications.github.io/harrington-trees/

Setting up automatic deployment with Travis

  • gem install travis
  • ssh-keygen -t rsa -b 4096 -f .travis-deploy-key -N ''
  • Copy .travis-deploy-key.pub to clipboard
  • Visit github.com/<user>/<repository>/settings/keys
  • Click Add deploy key
  • Title the key Travis deploy key, paste the contents of .travis-deploy-key.pub, check Allow write access, and click Add key
  • rm .travis-deploy-key.pub
  • travis login --com
  • Open .travis.yml and remove the line starting with openssl ... in the before_install section
  • travis encrypt-file .travis-deploy-key --pro --add
  • Update the formatting in .travis.yml
  • rm .travis-deploy-key
  • git add .travis-deploy-key.enc
  • git commit
  • git push

Installation

yarn install

Running the development server

yarn start

Building for deployment

Before creating a production build you need to know the path where it will be accessed. Then run the command PUBLIC_URL='./path/of/app' yarn build. This will generate a set of static files in the build/ directory that you can serve.

For example, if you want to deploy it at www.example.com/ then run PUBLIC_URL='./' yarn build. If you want to deploy it at www.example.com/lexica/lsj then run PUBLIC_URL='./lexica/lsj' yarn build.

Deploying a new version to github.io

yarn deploy

Updating template

  • git pull source master
  • Fix merge conflicts
  • git push origin master

Licenses

The code is licensed under the MIT license (see LICENSE file). The treebanks are licensed under the CC0 1.0 license (see TREEBANK_LICENSE file).

harrington-trees's People

Contributors

zfletch avatar aonkondey01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.