Giter Site home page Giter Site logo

pslab-desktop's Introduction

PSLab Desktop โ™Š

Electron desktop application for an awesome open-hardware platform. Made with love ๐Ÿ’œ

Get it from the Snap Store

Build Status Gitter Codacy Badge Mailing List Twitter Follow pslab

PSLab Banner
This project is a reimplementation of the PSLab Desktop orginally developed using the python stack. As of now, we are working on replicating features of the android app one by one.

The goal of PSLab is to create an Open Source hardware device (open on all layers) that can be used for experiments by teachers, students and citizen scientists. Our tiny pocket lab provides an array of sensors for doing science and engineering experiments. It provides functions of numerous measurement devices including an oscilloscope, a waveform generator, a frequency counter, a programmable voltage, current source and as a data logger.

We are developing the experiments starting on the hardware to libraries and user interfaces for desktop PCs and Android apps for smartphones. The PSLab project is inspired by the work of the Open Science Hardware community and the ExpEYES project. Our website is at: https://pslab.io

Communication

Please join us on the following channels:


How to contribute

In order to contribute, we would recommend you to first read the community guidelines as stated by FOSSASIA.

Setup ๐Ÿค˜

  1. Fork the project to get a copy of the repository in your github profile.
  2. Clone the copied project from your profile ( Not the original repository from FOSSASIA ).
  3. cd into your project folder.
  4. git remote add upstream https://github.com/fossasia/pslab-desktop.git This command will set up the upsteam link.

Installing development dependencies โ„๏ธ

While in your project folder

npm install

This command will install all the necessary dependencies required by the electron app to run.

As this app uses the PSL library under the hood for device communication, you'll have to install it as well. The instructions to install it are provided here. After installation of PSL make sure you can property import it in Python3. Run the following command in your bash shell.

python3
>>> from PSL import sciencelab

If this command runs without throwing an error, then we are good to go.

Starting the app ( development ) โšก

Everything command to start and debug the app are writen in package.json. To simply get it running run the following command while in your project repository.

npm start

And wait for the electron shell to open. Happy coding! ๐Ÿ”ฅ


Generating production build

Currently the build pipeline spits a debian and a snap file that can be installed on any debian based distro

Build Step for Linux ( Debian bases OS ) ๐Ÿ”ฐ

While in the project root

npm run build-linux

Build Step for Windows ๐Ÿ”ฐ

While in the project root

npm run build-windows

This command will produce a build and a dist directory inside the project folder. The build folder contains the optimized react files, while the dist folder contains the final electron installers.


Build Step for universal platforms ๐Ÿ”ฐ

While in the project root

npm run build

This will generate installers both for linux and windows in one step.

To pulish the app on snap store, follow the steps mentioned in the link https://docs.snapcraft.io/releasing-your-app


Installer files

The install branch of the PSLab-Desktop repository hosts all the installers that we support for different desktop platforms.

Stable

The stable installers are generated and updated on a weekly basis and are created from the master branch automatically.

Development

The development installers are generated and updated on every PR merge on development branch. These installers are used for testing purpose.


Installation

Based on your preference, you can either install the app directly from the debian file produced in the previous step or from online servers.

Install from file ( Linux ) ๐Ÿง

The debian file thus produced can be installed from the command line using

sudo dpkg -i <deb-file-name>

Installation from snap store ( Linux ) ๐Ÿง

The stable builds are published by our maintainers and can be installed from the command line using

sudo snap install pslab --edge

For testing purpose, you can install the snap package generated by the above command using:

sudo snap install --dangerous --classic <snap-package-name>

pslab-desktop's People

Contributors

2dsharp avatar adityastic avatar cloudypadmal avatar cweitat avatar fragm3 avatar hpdang avatar jithinbp avatar mariobehling avatar ojasgulati avatar orangecms avatar paltrickontpb avatar pipe-runner avatar sagarbaba avatar schneiderl avatar suyashsingh234 avatar viveksb007 avatar wavicles avatar

Watchers

 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.