Hear the hypem charts with the waveform from soundcloud to explore great music faster than ever.
To run your own instance on your local machine follow these steps:
-
Start a postgres server with an
unhypem
database -
Create a new
.env
file and copy all variables from theexample.env
into it. Replace or create all values to their corresponding keys. -
If you start unhypem the first time you want to run the tests first. This triggers the crawler and pushes the current charts into the db.
npm test
-
Build the frontend
npm run build-front
-
Start unhypem server and visit http://localhost:3000/
npm start
For further starts you can skip the third step.
Consider using npm run start-watch
during backend development and npm run start-front
during development for instant reloading.
During backend development you can use the npm run start-watch
command to restart
the server with every code change. Use npm run start-front
during frontend
development for live reloading on code changes.
To test you code make sure postgres is running with an unhypem database
.
You can then run all tests with
npm test
Consider using the following the execute the tests on file changes
npm run test-watch
When developing the frontend start a webpack hot-reloading server with
npm run start-front