Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/walfie/ac-tune-maker

Animal Crossing tune maker
https://github.com/walfie/ac-tune-maker

acnh animal-crossing animal-crossing-new-horizons

Last synced: about 2 months ago
JSON representation

Animal Crossing tune maker

Awesome Lists containing this project

README

        

# Animal Crossing Tune Maker

[![Actions Status](https://github.com/walfie/ac-tune-maker/workflows/Main%20workflow/badge.svg?branch=master)](https://github.com/walfie/ac-tune-maker/actions)

A website for making Animal Crossing tunes, written in OCaml with
[Bucklescript-TEA](https://github.com/OvermindDL1/bucklescript-tea).

## Development

- Install dependencies

```sh
yarn install
```

- Run the development server

```sh
yarn dev
```

This will start a dev server on and auto-reload as
changes are made.

Note that the SVG files are written manually and it's not recommended to make
changes to them via a visual editor, since the code depends on certain
classes/elements to exist.

## Production

```sh
yarn run build
```

Artifacts will be found in the `dist` directory on success.

If deploying to GitHub pages, there's also a `yarn run deploy` script which will
build and push to your `origin/gh-pages` branch (make sure to override the value
in `static/CNAME` if you're using your CNAME).

## Editor setup (Optional)

- Install opam (OCaml Package Manager)

-

- Install OCaml 4.06.1 (Note: BuckleScript requires 4.06.x)

```sh
opam switch create 4.06.1
```

- Install OCaml-LSP and ocamlformat

```sh
opam pin add ocaml-lsp-server https://github.com/ocaml/ocaml-lsp.git
opam install ocaml-lsp-server
```

```sh
opam install ocamlformat
```

- If you are using VSCode, install
[OCaml Platform - OCaml Labs](https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform);
otherwise, use any LSP client.