GithubHelp home page GithubHelp logo

jonathanvdmerwe / kolibri-installer-debian Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learningequality/kolibri-installer-debian

0.0 2.0 0.0 65 KB

Kolibri installer source for Debian

License: MIT License

Shell 100.00%

kolibri-installer-debian's Introduction

Kolibri installer source for Debian

To install and subscribe to updates for Debian/Ubuntu/Raspbian, visit our PPA:

https://launchpad.net/~learningequality/+archive/ubuntu/kolibri

Development roadmap

Pending decisions:

  • This is Python 3 ONLY for now.
  • All dependencies are bundled.
  • python3-cryptography is a suggested dependency, but is quite important
  • How do we get rid of bundled c-extensions upstream (in Python pkg) and replace them with real dependencies

Upcoming changes:

  • Startup service
  • A package with Nginx proxy config for static media and video streaming

Installation instructions

Full installation instructions will be made available in our documentation:

http://kolibri.readthedocs.io/

Automating source builds

The layout of a Debian build is simple. You need the following to build a version 0.5.0.dev4:

build/
├── kolibri-0.5.0.dev4
│   ├── AUTHORS.rst
│   ├── CHANGELOG.rst
│   ├── CONTRIBUTING.rst
│   ├── debian
│   │   ├── changelog
│   │   ├── compat
│   │   ├── control
│   │   ├── copyright
│   │   ├── rules
│   │   └── source
│   ├── kolibri
│   │   ├── (snip)
│   ├── kolibri.egg-info
│   │   ├── (snip)
├── kolibri_0.5.0.dev4.orig.tar.gz

Bootstrapping a simple build

# 1. Clone the debian installer repo and the kolibri source repo
git clone https://github.com/benjaoming/kolibri.git

# 2. Make the dist files
make dist

# 3. Make a build directory
mkdir my_build

# 4. Go to the directory and copy the sdist, appending .orig like this:
cd my_build
cp ../dist/kolibri-<version>.tar.gz kolibri-<version>.orig.tar.gz

# 5. Extract it (and don't delete it!)
tar xvfz kolibri-<version>.tar.gz

# 6. Go to the sources and add the debian folder
#    (it's just the debian/ we need, but in this example we clone the whole repo)
cd kolibri-<version>
git clone https://github.com/benjaoming/kolibri-installer-debian.git

# 7. Build it (unsigned)
debuild -uc -us

The Debian package is Python 3 ONLY. Python 2 users are advised to use source distribution or pip install method.

There's a recipe for Py2+3 packaging here:

kolibri-installer-debian's People

Contributors

benjaoming avatar lyw07 avatar

Watchers

James Cloos 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.