Skip to content

An electron application, that allows you to group up and listen to Spotify with others.

Notifications You must be signed in to change notification settings

caoakleyii/apollo-app

Repository files navigation

An electron application, that allows you to control Spotify and listen with others.

Running Dev

In order to run dev, you will need the Apollo API running in development.

Once your API is running. You'll just need to run the following commands

# install dependencies
npm install

# starts a webpack dev server, hoisting the vue components within the apollo app
npm run dev

# builds the electron application and starts the app
npm start

Build Binaries

In order to build the binaries you'll need to run a simple command, currently we're using electron-builder for the creating the binaries. This command will create the binary based on the machine you run it on.

yarn  dist

Build for Release and Auto-Update

We also use electron-builder and nuts with github release hooks to handle, building, releasing, and auto-updating. In order to create a draft release, make sure you increment the version within package.json, abiding by semver. Then run the following commands.

You'll need to make sure you have a GH_TOKEN system environment variable set to a GitHub Personal Access Key. The personal access token, should have full read/write access to the repository.

yarn release

This will draft a new release within GitHub for you. Make sure the only files uploaded include, installers and a latest.yaml file. The installers can have the extensions defined by Nuts

Commit any code related to this release, and publish.

Our nuts server uses GitHub Webhooks to be notified when a new release is updated or published. It will retrieve the binaries and host the latest.yaml file.

The latest.yaml file is what electron-builder uses to check if the app being run matches the latest app being hosted.

About

An electron application, that allows you to group up and listen to Spotify with others.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published