Git Product home page Git Product logo

nlp100.github.io's Introduction

NLP 100 Exercise 2020

This is the canonical repository for NLP 100 Exercise 2020.

Environment Setup

For Ubuntu/Debian users, the following dependencies need to be installed.

apt install ruby ruby-dev build-essential

When that has been installed, run the following commands:

gem install bundler
bundle install

Then you can run the development server with this command:

jekyll serve

You should be able to access the development server through http://127.0.0.1:4000.

Note that the default port (4000) used by Jekyll is also used by other tools, such as NoMachine - if the command above silently exits, then you will need to specify a different port.

jekyll serve --port 4001

For ChromeOS users, as Jekyll will be running inside a Crostini container, to access it from the host OS you will also need to bind it to all hosts, like below:

jekyll serve --host 0.0.0.0

macOS

If you don't have the basic developer toolkit installed, you need to run:

xcode-select --install

(For macOS version < 10.15) The Ruby 2.6 has integrated into macOS 10.15. You may have to manually install the latest version of Ruby if you are using the previous version of macOS. Kindly run the following command to install it through Homebrew:

# Skip this line if you have installed Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install ruby

If you are using macOS built-in Ruby, run the following commands to install using local mode: (it may be risky to use global mode to install due to macOS SIP and potential permission problems)

gem install --user-install bundler jekyll
bundle install

Last but not least, remember to configure your shell environment. Please note that you may change PATH= and .zshrc according to your environment.

# For built-in Ruby and zsh
echo 'export PATH="$HOME/.gem/ruby/X.X.0/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

The rest steps are the same as the Ubuntu/Debian part.

Windows

Install Ubuntu on Windows Subsystem for Linux, and follow the same procedure for Ubuntu.

License

Refer to the LICENSE file for details.

Contact

We welcome feedback/suggestions as issues and pull requests in the GitHub repository. If you would like to contact us about a matter aside from feedback/suggestions, please send an email to nlp100 at nlp.c.titech.ac.jp.

nlp100.github.io's People

Contributors

butsugiri avatar chokkan avatar coliff avatar cynthia avatar edemaine avatar fa-ribeiro avatar hkalant avatar ibug avatar justinrummel avatar kulbhushanchand avatar lsolesen avatar lucascaton avatar maazadeeb avatar maxheld83 avatar maxime-michel avatar mmistakes avatar nickgarlis avatar ohadschn avatar ririkoo avatar scot3004 avatar stelios3g avatar thoemmi avatar tlindsay42 avatar tobie avatar tony-ho avatar torrocus avatar vincenttam avatar yihangho avatar youmima avatar zenharbinger avatar

Watchers

 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.