Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
/ app Public archive

Front end for Stockpile, an app that manages stuff for organizations

License

Notifications You must be signed in to change notification settings

stockpile-co/app

Repository files navigation

Build Status Coverage Status codebeat badge NSP Status

Stockpile App

Front end for Stockpile, an app that manages stuff for organizations.

Built with Ionic.

See Stockpile API for the Restful API consumed by this app.

Getting Started

  • Clone this repo
  • Run npm install from the project root

Note: If your build is slow, update npm to 3.x: npm install -g npm.

Running in a Browser

  • Run ionic serve to preview the app in your browser
  • You can also run ionic serve --lab to preview different platforms side-by-side

Note: Some native functionality like scanning won't be available in the browser. You have to run the app on an emulator or device for the full experience.

Running on a Device or Emulator

Running apps on a device or emulator requires you to build the app locally. To do this, you have to set up the Android SDK and/or Apple's Xcode. For detailed instructions on how to do this, follow this guide for Mac or this one for Windows.

  • Add platforms you want to run with ionic cordova platform add ios or ionic cordova platform add android
  • Run ionic cordova prepare to install the plugins for each platforms
  • For iOS only, run npm install ios-sim. This is the only way to get the emulator to work from the command line.
  • Run ionic cordova emulate ios or ionic cordova emulate android to emulate
  • Run ionic cordova run ios or ionic cordova run android to run on a real device connected to your computer

Tests

App tested with Jasmine and Karma on Chrome.

To run the tests: npm test.

About

Front end for Stockpile, an app that manages stuff for organizations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages