Skip to content

maxvoltage/mir

 
 

Repository files navigation

Mir

CircleCI Coveralls branch David Ember StackShare

Ember app powering the frontend of mirai.audio

Prerequisites

You will need the following things properly installed on your computer.

macOS / OS X Installation:

brew install watchman
brew install yarn  # add --without-node flag if you use nvm
yarn global add ember-cli

Linux (Ubuntu)

npm install -g yarn
yarn global add ember-cli  # Make sure $(yarn global bin) is in your $PATH

Installation

git clone <repository-url>
cd mir
yarn

Running / Development

yarn develop visit app at http://localhost:4200, a mock (ember-cli-Mirage) server will be running.

yarn start Visit app at http://localhost:4200, requires Ai backend API server to be running.

To run with service workers, without live reload: ember serve --live-reload=false and add ?dev=true to the URL.

Environment variables

The following environment variables are available to override fallback (dev) configuration:

# common
API_URL=https://api.mirai.audio  # REST API address
HOST=http://localhost:4200       # Default host
MIRAGE=true                      # Enable Mirage mock server for development

# social login providers
TWITTER_REQUEST_TOKEN_URL=//localhost:4000/auth/twitter # ai kickstarts OAuth

# Coveralls API token (how test coverage is reported)
COVERALLS_REPO_TOKEN=  # needs to be set in Circle CI / Travis

If these are defined in a .env file, they will be sourced and made available in the running application.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

LICENSE

MIT

A product of (せい)(しん)(こう)() (seishinkouki) Co., Ltd

About

web app powering mirai.audio

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.8%
  • HTML 33.0%
  • CSS 4.2%