GithubHelp home page GithubHelp logo

canonical / charm-snap-store-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from majduk/charm-snap-store-proxy

0.0 2.0 1.0 25 KB

⛔️ DEPRECATED

License: GNU General Public License v3.0

Shell 4.53% Python 95.47%
archived deprecated obselete

charm-snap-store-proxy's Introduction

⛔️ DEPRECATED

This is no longer supported, please consider using LP: snap-store-proxy-charm instead.

snap-store-proxy

Description

The Snap Store Proxy provides an on-premise edge proxy to the general Snap Store for your devices. Devices are registered with the proxy, and all communication with the Store will flow through the proxy.

Note: In order to serve its client devices, a Snap Store Proxy needs to be online and connected to the general Snap Store. This is a requirement, even though Snap Store Proxy caches downloaded snap files, which substantially reduces internet traffic. There's currently no generally available offline mode for the Snap Store Proxy itself. See Network Connectivity for the snap-proxy check-connections command and the up-to-date Network requirements for Snappy post for a list of domains Snap Store Proxy needs access to.

Usage

This charm can be deployed using juju:

    juju deploy snap-store-proxy snap-store-proxy
    juju add-relation postgresql:db-admin snap-store-proxy:db

Note that Snap Store Proxy requires administrative privileges on the database.

After the installation completes, proxy needs to be registered:

juju ssh snap-store-proxy/0
sudo snap-proxy generate-keys
sudo snap-proxy register

More details can be found in Snap Store Proxy installation documentation.

Developing

Create and activate a virtualenv, and install the development requirements,

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt

Testing

Just run run_tests:

./run_tests

charm-snap-store-proxy's People

Contributors

gleland avatar majduk avatar pjack avatar rgildein avatar

Watchers

James Cloos avatar  avatar

Forkers

rgildein

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.