Skip to content
Myr

netlify-docs.sh

This file

Path

scripts/netlify-docs.sh

14 lines · 339 bytes · Shell

Last changed by

:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d

History of this file

Take it

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

line 1why, one step back
1#!/usr/bin/env bash

:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d

lines 2–8why, one step back
2set -x
3set -e4# Install pip5cd /tmp6curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py7python3.6 get-pip.py --user8cd -

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

line 9why, one step back
9# Install Flit to be able to install all

:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d

line 10why, one step back
10python3.6 -m pip install --user flit

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

line 11why, one step back
11# Install with Flit

:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d

line 12why, one step back
12python3.6 -m flit install --user --deps develop

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

line 13why, one step back
13# Finally, run mkdocs

:green_heart: Update Netlify script with local Docker image testsSebastián Ramírezbefore adoptione9d027d

line 14why, one step back
14python3.6 -m mkdocs build