https://github.com/alda-lang/alda-api
An API that, among other things, provides information about Alda releases
https://github.com/alda-lang/alda-api
Last synced: 3 months ago
JSON representation
An API that, among other things, provides information about Alda releases
- Host: GitHub
- URL: https://github.com/alda-lang/alda-api
- Owner: alda-lang
- License: epl-2.0
- Created: 2020-12-02T01:42:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T22:21:25.000Z (over 1 year ago)
- Last Synced: 2025-01-06T21:49:27.444Z (5 months ago)
- Language: Clojure
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alda-api
An API that, among other things, provides information about Alda releases.
## Development
First, install the [official `clojure` CLI tools][clojure-cli].
Then, run `clojure -M:serve 8080` to serve the app locally on port 8080 (or
replace 8080 with the port of your choice).## Deployment
The Alda API is set up as a DigitalOcean App. The [app specification YAML
file][do-app-spec-yaml] is `.do/app.yaml`. When a new commit is pushed to the
`master` branch, it triggers an automatic build and deployment in the
DigitalOcean App Platform.DigitalOcean App Platform does not support Clojure out of the box, but they do
support Docker, and it was easy to set up a basic Dockerfile (see `Dockerfile`
in this repo) to create a container that has a recent version of the `clojure`
CLI and can fetch the dependencies and run the app.## License
Copyright © 2012-2022 Dave Yarwood et al
Distributed under the Eclipse Public License version 2.0.
[clojure-cli]: https://clojure.org/guides/deps_and_cli
[do-app-spec-yaml]: https://www.digitalocean.com/docs/app-platform/references/app-specification-reference/