• Stars
    star
    597
  • Rank 74,632 (Top 2 %)
  • Language
    CSS
  • License
    zlib License
  • Created over 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

New Coder tutorials

new-coder

New Coder tutorials: 5 life jackets to throw the new coder

  • Data Visualization
  • Web Scraping
  • APIs
  • Networking
  • GUI

General directory layout:

β”œβ”€β”€ <Project>/
β”‚Β Β  β”œβ”€β”€ README.md
β”‚Β Β  β”œβ”€β”€ requirements.txt
β”‚Β Β  β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ tests/  # only for more advanced tutorials

CONTRIBUTING

PLEASE – When editing tutorial or full source code, please edit the documentation to go along with it within the website folder (and vice-versa).

When writing documentation, please use smart quotes. :)

Documentation Build Instructions

Documentation is essentially the website itself. Simply install requirements, run the build command within website directory:

$ mkvirtualenv newcoder-website
(newcoder-website) $ cd website
(newcoder-website) $ pip install -r requirements.txt

To build the site:

(newcoder-website) $ mynt gen -f _site

To serve the site locally:

(newcoder-website) $ mynt serve _site

And navigate to localhost:5000.

I’ve included a simple script that combines the two above commands:

(newcoder-website) $ ./_local.sh

If you get a permission denied message, you may need to change the file mode in order to run the _local.sh with the ./ preceeding:

(newcoder-website) $ chmod +x _local.sh
(newcoder-website) $ ./_local.sh