Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.95 KB

DEVELOPMENT.md

File metadata and controls

71 lines (49 loc) · 1.95 KB

Prerequisites

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

Installation

  • git clone <repository-url> this repository
  • cd meiliadmin
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint
  • npm run lint:fix

Building

  • npm start (development and watch)
  • npm run build (production)
  • ROOTURL=/admin/ npm run build (production build with rooturl, example: https://example.com/admin/)

Further Reading / Useful Links

Install dummy Meilisearch instance

# Create folder
$ mkdir data && cd data

# Install Meilisearch
$ curl -L https://install.meilisearch.com | sh

# Download a dataset
$ curl https://raw.githubusercontent.com/meilisearch/documentation/main/assets/datasets/meteorites.json --output meteorites.json

# Start Meilisearch
$ ./meilisearch

# Create a new index `meteorites` and push the dataset
$ curl -X POST 'http://localhost:7700/indexes/meteorites/documents' -H 'Content-Type: application/json' --data-binary @meteorites.json

Start Meilisearch instance

$ cd data && ./meilisearch --master-key="MASTER_KEY"