gm418 / laloupe-0916-bij

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Electron Bureau Info Jeunesse BIJ

Requirements

Installation

git clone git@github.com:WildCodeSchool/laloupe-0916-bij.git
cd laloupe-0916-bij.git
npm install
bower install

Development

npm start

Production

This app is part of a set of 2 app, one for BIJ users and one for package this Electron app.

This Electron application is used only for packaged app for Windows, Linux and Mac. For package app use the methods bellow

MacOS

Use brew to install required packages.

To build app for Windows on macOS:

brew install wine --without-x11 (require x-code)

brew install mono To build app for Linux on macOS:

brew install gnu-tar graphicsmagick xz

To build rpm: brew install rpm.

npm run dist

Linux

To build app in distributable format for Linux:

sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils

To build rpm: sudo apt-get install --no-install-recommends -y rpm.

To build pacman: sudo apt-get install --no-install-recommends -y bsdtar.

npm run dist

To build app for Windows on Linux:

Install Wine (1.8+ is required):

sudo add-apt-repository

ppa:ubuntu-wine/ppa -y

sudo apt-get update

sudo apt-get install --no-install-recommends -y wine1.8

Install Mono (4.2+ is required):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get update

sudo apt-get install --no-install-recommends -y mono-devel ca-certificates-mono

npm run dist

To build app in 32 bit from a machine with 64 bit:

sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib Travis Linux

Trusty is required — default Travis Linux dist is outdated and icnsutils version is non-functional.

sudo: required dist: trusty

npm run dist

Windows

Please use Docker.

npm run dist

After package.

Zip the folder bellow:

  • win-ia32-unpacked

Then copy/paste the files below from this app to "laloupe-0916-bij" into dist folder.

  • win-ia32-unpacked.Zip
  • levraidufaux Setup 0.1.0.exe
  • levraidufaux-0.1.0-ia32.AppImage
  • levraidufaux-0.1.0-x86_64.AppImage
  • levraidufaux-0.1.0.dmg
  • levraidufaux-0.1.0-mac.zip

Contributors

About

License:Creative Commons Zero v1.0 Universal


Languages

Language:HTML 78.6%Language:JavaScript 15.0%Language:CSS 6.4%