Skip to content
Set you up for your next Gig. πŸŽΈπŸš€
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
bin
modules
public
test
views
.editorconfig
.eslintignore
.eslintrc.json
.gitignore
README.md
app.js
package.json
routes.js
webpack.config.js
yarn.lock

README.md

Should I Listen It

Codeship Status for sirLisko/shouldilistenit dependency Status devDependency Status

Set you up for your next Gig.

Check a live example @ https://shouldilistenit.sirlisko.com/the+strokes


The Website is powered by NodeJs.

In order to have the Website up and running NodeJs is mandatory, it can be installed using n, a handy NodeJs binary manager, or using the official installer present in the NodeJs website (https://nodejs.org/download/).

Build steps

Now the build consists of 2 steps:

  • Install all the FE dependencies for the build (i.e. webpack, postcss, etc.)
  • Build the assets (javascript, templates, etc.)

Install the dependencies

Once NodeJs is installed, its package manager NPM will be available, all you need to do is run in the main directory of the project the following command.

npm install --production

This will install all the software needed in order to build and run the Website.

In addition of that NPM allows us to run base commands that could be plugged to gulp functions or utilities.

Build the Front-End

npm run build

It runs the following tasks:

Work with the Front-End (Develop)

The easier way to build the Front-End in Develop mode is with:

npm run watch

In addition to the build, this command is also watching the file system looking for files change. Once one of the resources changes the relative assets are immediately recompiled.

Running the tests

In order to running the tests and linters the dev dependencies need to be installed.

npm install

Once the dependencies are installed:

npm test

The test command is running the unit test relative to the javascript and the linting of the code (JS/CSS).

API keys

The following API keys are needed in order to have everything up and running:

export SETLISTFMAPIKEY={token}
export SKAPI={token}
export SPOTIFYTOKEN={token}
You can’t perform that action at this time.