GithubHelp home page GithubHelp logo

canonical / multipass.run Goto Github PK

View Code? Open in Web Editor NEW
4.0 14.0 26.0 26.88 MB

Codebase for multipass marketing site

License: GNU General Public License v3.0

HTML 48.85% Shell 28.46% Dockerfile 2.22% JavaScript 11.31% Python 3.98% SCSS 5.17%
website web-and-design

multipass.run's Introduction

Multipass

CircleCI build status Code coverage

Codebase for https://multipass.run - the marketing website for Canonical's multipass product.

Local development

The simplest way to run the site locally is to first install Docker (on Linux you may need to add your user to the docker group), and then use the ./run script:

./run

Once the containers are setup, you can visit http://127.0.0.1:8026 in your browser.

Building CSS

For working on Sass files, you may want to dynamically watch for changes to rebuild the CSS whenever something changes.

To setup the watcher, open a new terminal window and run:

./run watch

Deploy

You can find the deployment config in the deploy folder.

Licence

Code licensed LGPLv3 by Canonical Ltd..

With ♥ from Canonical

multipass.run's People

Contributors

akbarkz avatar anthonydillon avatar barrymcgee avatar bartaz avatar bethcollins92 avatar caldav avatar carkod avatar clementchaumel avatar deadlight avatar dependabot[bot] avatar fitojb avatar jkfran avatar jpmartinspt avatar meltysnow avatar minkyngkm avatar mtruj013 avatar nottrobin avatar petesfrench avatar pmahnke avatar renovate-bot avatar renovate[bot] avatar samhotep avatar saviq avatar sharder996 avatar sirsamtumless avatar solazio avatar sowasred2012 avatar steverydz avatar tbille avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multipass.run's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined

Use qemu backing file instead of directly using the image

From what I understand multipass provides an abstraction which is somewhere between virsh for kvm and docker for containers but lacks a lot of features from both .

One good feature to have is provision to using a local image store similar to docker and the VM would use a backing file instead of directly using images from the store.

There should be abstractions for snapshoting VMs to create new images similar to the docker image layers . Publishing images to local / remote image stores . This would provide users an ecosystem for developing and sharing apps.

qemu-img info /var/snap/multipass/common/data/multipassd/vault/instances/thiru-test/ubuntu-18.04-server-cloudimg-amd64.img

image: /var/snap/multipass/common/data/multipassd/vault/instances/thiru-test/ubuntu-18.04-server-cloudimg-amd64.img
file format: qcow2
virtual size: 5.0G (5368709120 bytes)
disk size: 475M
cluster_size: 65536
Format specific information:
compat: 0.10
refcount bits: 16

ubuntu for MacBook Pro + Apple M1

Para cuando una version de ubuntu ARM para el MacBook Pro Apple M1???
Gracias.

For when a version of ubuntu ARM for the MacBook Pro Apple M1 ???
Thanks.

Add Ubuntu Pro tips Cheat sheet section/form

copy doc
Add a form for users to download cheat sheet same as https://ubuntu.com/download/server#

HTML below for section of landing page

  <div class="row u-equal-height u-vertically-center">
    <div class="col-6 u-align--center u-hide--small">
      <img src="https://assets.ubuntu.com/v1/39a8dac8-Ubuntu_Server_CLI_pro_tips_2020-04.jpg" style="width: 350px;" alt="Ubuntu Server CLI pro tips"/>
    </div>
    <div class="col-6">
      <p>The &rdquo;Ubuntu Server CLI cheat sheet&ldquo; is your fast path to learning the Linux command line - from basic file management to deploying Kubernetes and OpenStack.</p>
      <a class="p-button--positive js-invoke-modal" href="#">Download Cheat Sheet</a>
    </div>
  </div>
</section>

Multipass does not play well with VirtualBox on MacOS

I followed the instructions here:
https://multipass.run/docs/using-virtualbox-in-multipass-macos
and here:
https://multipass.run/docs/installing-on-macos
but multipass refuses to launch anything, claiming that:

launch failed: Conversion of image to VDI failed (Process returned exit code: 1) with the following output:
qemu-img: Unknown file format 'vdi'

I have updated VirtualBox on my Mac to the latest version earlier today.

I have tried the download-a-package route and (separately) the Homebrew route.

I have tried brew installing hyper kit before brew installing multipass.

I have tried running everything using sudo.

The problem seems to be the instruction:

$ sudo multipass set local.driver=virtualbox

Once this command has been executed, multipass is useless.

I instead executed this command to undo the one above:

$ sudo multipass set local.driver=hyperkit

Using hyperkit seems to work, but using virtualbox does not.

Add system requirements to download area

From Ubuntu-design#77:

On the multipass.run front page, the download buttons should be followed by small print describing the system requirements.

Before:

system-requirements before

After:

system-requirements

@therealjuan commented on Jul 18, 2019

It will be more valuable to include further indication below the Linux / Snap section with something like Linux distributions with snap packages support enabled. [Get your Linux set up for snaps](https://docs.snapcraft.io/installing-snapd)

Build multipass homepage

@cristinadresch commented on Fri Mar 29 2019


@anasereijo commented on Fri Apr 12 2019

Hi @cristinadresch, not sure what this issue is for, can you please specify a bit more? thank you


@cristinadresch commented on Fri Apr 12 2019

This is the build for the multi pass website

On Fri, 12 Apr 2019 at 14:42, Ana Sereijo [email protected] wrote:

Hi @cristinadresch https://github.com/cristinadresch, not sure what
this issue is for, can you please specify a bit more? thank you


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ubuntudesign/web-squad/issues/1063#issuecomment-482579074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtwBVi98508-5iBNgHjR7atsJ0F6mQo7ks5vgI1BgaJpZM4cSkwm
.


@spencerbygraves commented on Thu Apr 18 2019

Here is the design for the homepage. When @waynecrosby has the final logo it will be added to the header and hero area.

image

Add version number

It would be nice if the website had the current version listed somewhere. Maybe in the "Install" section.

./run failing on mac

Can't run the site locally to work on it - I've tried ./run clean but still getting the same error.

An unexpected error occurred: "/home/shared/.cache/yarn/v6/npm-meow-8.1.0-0fcaa267e35e4d58584b8205923df6021ddcc7ba-integrity/node_modules/meow/.yarn-metadata.json: Unexpected end of JSON input".

Missing commands from reference documentation

Approximately half of the commands are undocumented on this web page

$ multipass --version multipass 1.7.0+mac multipassd 1.7.0+mac

$ multipass --help
Usage: multipass [options] <command>
Create, control and connect to Ubuntu instances.

This is a command line utility for multipass, a
service that manages Ubuntu instances.

Options:
  -h, --help     Displays help on commandline options.
  --help-all     Displays help including Qt specific options.
  -v, --verbose  Increase logging verbosity. Repeat the 'v' in the short option
                 for more detail. Maximum verbosity is obtained with 4 (or more)
                 v's, i.e. -vvvv.

Available commands:
  delete    Delete instances
  exec      Run a command on an instance
  find      Display available images to create instances from
  get       Get a configuration setting
  help      Display help about a command
  info      Display information about instances
  launch    Create and start an Ubuntu instance
  list      List all available instances
  mount     Mount a local directory in the instance
  networks  List available network interfaces
  purge     Purge all deleted instances permanently
  recover   Recover deleted instances
  restart   Restart instances
  set       Set a configuration setting
  shell     Open a shell on a running instance
  start     Start instances
  stop      Stop running instances
  suspend   Suspend running instances
  transfer  Transfer files between the host and instances
  umount    Unmount a directory from an instance
  version   Show version details

Compared with the following on the webpage

Command-line reference
exec
find
get
help
info
launch
list
networks
set
shell
start
version

Add cookie policy and update GTM

On the site

in package.json

"@canonical/cookie-policy": "3.0.2",

in templates/partial/_footer.html

<a href="" class="js-revoke-cookie-manager">Manage your tracker settings</a>

add the js (depends on site)

static/js/base.js

import { cookiePolicy } from "@canonical/cookie-policy";
cookiePolicy();

or

<script src="/static/js/modules/cookie-policy/cookie-policy.js"></script>
<script src="/static/js/modules/global-nav/global-nav.js"></script>
<script>
  canonicalGlobalNav.createNav({
    maxWidth: '72rem',
  });
  cpNs.cookiePolicy();
</script>

add to scss

static/sass/styles.scss

// import cookie policy
@import "@canonical/cookie-policy/build/css/cookie-policy";

On the GTM

  1. add variable - _cookies_accepted
  2. add trigger - All pages && cookie (all or functionality) - page view regex match (all|functionality)
    3.add trigger - All pages && cookie (all or performance) - regex match (all|performance)
  3. add these to the triggers based on [this sheet](https://docs.google.com/spreadsheets/d/1PQEmbJPEG-76FLtLVOO271615V5aor66UhxfomZF-lo/edit#gid=0}
  4. tracker track pageview for cookie acceptance for pageview
  5. trigger - custom track pageview event on event pageview

performance

  • ga
  • crazyegg
  • usabilla
  • vimeo
  • google optimise

functionality

  • linked in
  • livechat
  • facebook
  • twitter
  • bombora
  • google adwords
  • Marketo Munchkin

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.