Giter Site home page Giter Site logo

davidbrochart / numpy.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from numpy/numpy.org

0.0 2.0 0.0 12.09 MB

The NumPy home page

Home Page: http://numpy.org/

Makefile 0.20% HTML 61.07% CSS 15.86% JavaScript 4.70% Shell 10.95% Dockerfile 0.37% Python 6.85%

numpy.org's Introduction

Numpy.org

Getting Started

To contribute to the website, you'll first need to install the extended version of Hugo.

The Hugo install page has instructions for different platforms and installers; make sure you end up with the extended version.

On Linux it may be easiest to pick up a tarball of the latest extended version from the release page and install it per https://gohugo.io/getting-started/installing/#install-hugo-from-tarball.

Next, clone this repository, and install the theme:

git submodule update --init

The development web server is started with:

hugo server

or

hugo server -D

to run the hugo server with draft enabled.

after which the site should be served at http://localhost:1313.

You'll see

error: failed to transform resource: TOCSS: failed to transform "style.sass"

if you don't have the Hugo extended version.

Using docker:

  • Build the docker image:

  $ docker build -t deploy_surge .
  $ docker images

Run the image:

  $ docker run -e SURGE_LOGIN=${SURGE_LOGIN} -e SURGE_TOKEN=${SURGE_TOKEN} -e PR_NUMBER=${TRAVIS_PULL_REQUEST} deploy_surge

Note: SURGE_LOGIN and SURGE_TOKEN is needed only when you want to push the build in surge server. The URL will look like: numpy-${PR_NUMBER}.surge.sh

So you can use some random number instead of TRAVIS_PULL_REQUEST variable.

You also can run the docker image in daemon mode and then interact with the container and run the hugo server.

User Experience (UX)

NumPy Color Palette

#FFC553 Mustard #4DABCF Maximum Blue #4D77CF Han Blue #FFFFFF White #EEEEEE Isabelline #6C7A89 Aurometalsaurus #013243 Warm Black

numpy.org's People

Contributors

bjnath avatar btel avatar charris avatar gfyoung avatar inessapawson avatar ivanov avatar jaimefrio avatar joelachance avatar marsbarlee avatar mattip avatar mwiebe avatar njsmith avatar pv avatar pythonchb avatar rgommers avatar rossbar avatar scottza avatar shaloo avatar shekharrajak avatar stefanv avatar teoliphant avatar tylerjereddy avatar

Watchers

 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.