Giter Site home page Giter Site logo

landing's Introduction

Landing

Build Status

Serves the source{d} Landing and its API

Requirements

You should already have Go installed, and properly configured the $GOPATH

go version; # prints your go version
echo $GOPATH; # prints your $GOPATH path

The project must be under the $GOPATH, following the Go import conventions, what means you can go to its directory running:

cd $GOPATH/src/github.com/src-d/landing

You need also Yarn installed

yarn --version; # prints your Yarn version

Install and build

You need to satisfy all project requirements, and then to run:

make build

Development and running the landing locally

You need to satisfy all project requirements, and then to run:

LANDING_URL=//localhost PORT=8181 make serve

It runs everything you need to get the site working at http://localhost:8181

Alternatively, you can start hugo, the api-server and webpack in a "three window mode", just running:

LANDING_URL=//localhost PORT=8181 yarn start

With this command, each window runs a command, that can be also ran by you in case you need to control the output of each command or in any other special case:

  • yarn run webpack-watcher To start webpack watcher, that will rebuild the assets when you change its sources
  • make hugo-server To serve the landing locally using hugo server
  • yarn run api-run To start the landing API at http://localhost:8181

Configuration

The following envars are available for configuration

  • ADDR
  • FEED_BASE_URL
  • POSITIONS_BASE_URL
  • SLACK_CHANNEL
  • SLACKIN_URL

You can see more in the config package in api.

landing's People

Contributors

dpordomingo avatar serabe avatar pavelkarpov avatar filiptc avatar erizocosmico avatar theodoraalexandra avatar mcuadros avatar eiso avatar smeruelo avatar ricardobaeta avatar vmarkovtsev avatar ivanfoo avatar ikanor avatar

Watchers

James Cloos avatar Marcelo Novaes avatar  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.