Giter Club home page Giter Club logo

compiled-binder-postbuild's Introduction

Background

This is an extension to the base compiled-binder-example repo. The idea here is to use PackageCompiler on Binder without a custom Dockerfile (i.e., integrating it with repo2docker's native Julia support.)

Usage

Click the myBinder badge below to spin up a new instance. That's it!

Adaptation

How do I generate the TOML files for my own use?

Inside a directory, open a Julia REPL and then hit ] activate. This will initialize a new (empty) environment, and running further operations (] add, ] pin, etc.), will create and maintain the files.

Will packages in my Project.toml be precompiled?

Yes. As Simon mentions, this accounts for less than half the compilation cost of a package, but it will be paid for all packages regardless of what happens in postBuild.

How do I change the list of files to bake in?

Edit the list of packages in the init.jl script. Packages named there must also be in your main Project.toml.

Note: PackageCompiler is still relatively fragile, and not all combinations of packages will succeed.

How do I deploy my own Binder (with my own badge, etc.?)

See the FAQ in the base repository for more details on that.

Contributions, etc.

You can open an issue or PR on this repo, or email me at [email protected].

compiled-binder-postbuild's People

Contributors

arnavs avatar

Watchers

 avatar  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.