Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Numpy.org

[![Netlify Status](https://api.netlify.com/api/v1/badges/efd504a5-56ff-4f46-8a51-b6d4bb338c59/deploy-status)](https://app.netlify.com/sites/numpy/deploys)

## Getting Started

To contribute to the website, you'll first need to install the *extended
Expand All @@ -15,19 +17,19 @@ install it per https://gohugo.io/getting-started/installing/#install-hugo-from-t

Next, clone this repository, and install the theme:

```
```bash
git submodule update --init
```

The development web server is started with:

```
```bash
hugo server
```

or

```
```bash
hugo server -D
```

Expand All @@ -36,26 +38,26 @@ to run the hugo server with draft enabled.
after which the site should be served at http://localhost:1313.

You'll see
```

```bash
error: failed to transform resource: TOCSS: failed to transform "style.sass"
```
if you don't have the Hugo extended version.

if you don't have the Hugo extended version.

## Using docker:
## Using docker

* Build the docker image:

```

```bash
$ docker build -t deploy_surge .
$ docker images

```

Run the image:

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

Expand Down Expand Up @@ -84,3 +86,8 @@ You also can run the docker image in daemon mode and then interact with the cont

![#FFFFFF White](./static/images/content_images/swatch_FFFFFF_white.png) `#FFFFFF` **White**

## Deployment

Submit pull requests first, those get run on [Netlify](https://quansight-labs.netlify.app/) and you can see a build preview by clicking on the `details` link at the bottom.

![Build previews](images/readme-build-previews.png)
Binary file added images/readme-build-previews.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.