Giter Site home page Giter Site logo

trino.io's Introduction

trino.io

Trino Logo

The source for the Trino community website available at https://trino.io/.

The site uses Jekyll and markdown. It is hosted on Netlify.

Build and run locally

In general, you need Ruby, gems, Bundler, Jekyll, and Netlify Dev.

Detailed steps for macOS follow below. Similar commands work for various Linux distributions.

macOS initial setup

Install Ruby in Homebrew:

brew install ruby

Add Homebrew Ruby in front of system Ruby. Use this form of the command to accommodate both Intel and Apple M1 based Macs. The back quotes are important:

PATH=`brew --prefix`/opt/ruby/bin:$PATH

Run the next few commands from the root of your clone of this repo.

Install bundler:

gem install bundler

Install gems for site:

bundle install

Install Netlify CLI:

brew install netlify-cli

Run server

Run server using Netlify Dev:

netlify dev

With the server running you can access the site on http://localhost:4000.

Additional notes

Verify pages render correctly on phone

You can run the server on your computer and then verify the pages render correctly on a phone. There are two ways to do that:

  • Access the IP address of your computer on your local network from your phone.

  • Run netlify dev --live to create a publicly accessible tunnel that can be accessed from anywhere over the internet.

View future posts

Posts with future dates do not normally render. You can override the default Jekyll invocation to add the --future option to see these.

netlify dev -c 'bundle exec jekyll serve --future'

trino.io's People

Contributors

mosabua avatar martint avatar bitsondatadev avatar electrum avatar colebow avatar ryandoowan avatar findepi avatar dain avatar kylefraser avatar ebyhr avatar hashhar avatar rosewms avatar istvanm avatar arhimondr avatar shubhamtagra avatar jessie212 avatar chaho12 avatar vijaymann avatar kasiafi avatar dependabot[bot] avatar sbernauer avatar rzeyde-varada avatar romainr avatar phd3 avatar posulliv avatar takezoe avatar monimiller avatar lewuathe avatar jefflester avatar cindyngo44 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.