Coder Social home page Coder Social logo

template_julia's Introduction

Julia Notebook Repository Template

This is a template repository containing a Jupyter notebook with a julia kernel.

Please follow the instructions below to prepare your notebook repository to publish in EDS book.

Feel free to report bugs in the main EDS book repo (here).

How to use the template

πŸ‘‰ Step 1: Use the template

Login to your GitHub account, and click on "Use this template". Choose a new name!

Choose a new name for the repository and select the public option. Don’t choose include all branches. Then click in the Create repository from template.

πŸ‘‰ Step 2: Clone and edit

Clone the repo in your local/remote machine. You can follow some basics in Git commands in GitHub in The Turing Way (see here).

git clone <insert GitHub link of the repository here>

Create and checkout a branch with a name of your preference.

git branch <branch name> git checkout <branch name>

Don't rename the filename of the notebook.

Edit the notebook using the integrated development environment (IDE) of preference. We suggest visiting Getting Started with Jupyter by the Pythia project.

The minimal information in the edition refers to the proposed title and purpose of the notebook. Feel free to copy and paste the information filled when you submitted the Notebook Idea issue in the main EDS book repository.

For instance, the following screenshot shows a notebook with minimal information requirement in jupyter lab.

πŸ‘‰ Step 3: Open a Pull Request (PR)

After editing the notebook with minimal information, you can create a PR to the main branch. If you aren’t familiar how to open a PR, we suggest following the guidelines in Opening a Pull Request on GitHub by the Pythia project.

The PR will trigger a GitHub action workflow that posts a comment inside the PR. The comment contains a "Test this PR on Binder" badge, which can be used to access the image defined by the PR in mybinder.org.

πŸ‘‰ Step 4: Test in Binder

The workflow posts a comment inside a pull request, every time a pull request gets opened. The comment contains a "Test this PR on Binder" badge, which can be used to access the image defined by the PR in mybinder.org.

πŸ‘‰ Step 5 - Update

You can update the notebook as many times you want within the same PR. You can also open a new PR, but make sure you merge or close previous PR.

To start adding the notebook dependencies, you must update the Project.toml file. For instance, the screenshot below we pushed an Update notebook.ipnyb commit related to importing a new library in the Load libraries section.

When the minimal working version of the notebook is ready, you should tag Editors-in-Chief (EiC) in the PR with the latest Binder badge. EiC will check how reproducible is the notebook and its feasibility for the reviewing stage.

After EiC’s approval of the draft version of the notebook, EiC will fork the notebook repository to the eds-book-gallery organisation.

EiC will prepare the notebook in the forked repository for the review process.

πŸ‘‰ Step 6 - Reviewing process

EiC will open a PRE-REVIEW issue where a handling editor and authors suggest reviewers. The editor can give initial directions to authors for improving the notebook, especially if the notebook lacks some requested sections. Once reviewers agreed on the revision, EiC opens a REVIEW issue.

We suggest to read further details of the REVIEW process in the publishing guidelines (see here).

Credits

This template uses 2i2c’s hub-user-image-template released under BSD-3-Clause license. We also acknowledge the static-export-template of Julia Pluto, in particular the well-documented README file.

template_julia's People

Contributors

acocac avatar

Watchers

Anne Fouilloux 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.