A free and open-source music platform
$ npm install
# or
$ yarn
- Copy
.env.local.template
to.env.local
on same structure level. - Fill required environment variables.
Environment | Type | Recommendation for Development | Description |
---|---|---|---|
GRAPHQL_ENDPOINT | String | http://localhost:4000/graphql | GraphQL Server Endpoint |
Clone museon-backend repository and run GraphQL server:
$ npm start
Now, server should be running on http://localhost:4000/graphql
Running the development server:
$ npm run dev
# or
$ yarn dev
Open http://localhost:3000 with your browser to see the result.
Building:
$ npm run build
# or
$ yarn build
Linting:
$ npm run lint
# or
$ yarn lint
Testing:
$ npm test
# or
$ yarn test
Analyzing bundle:
$ npm run analyze
# or
$ yarn analyze
$ docker-compose build
# run
$ docker-compose up
Please, follow these steps to contribute:
- Fork the repository
- Create a branch
- Commit your changes
- Run build, lint and test scripts
- Create pull request