Files
shorebird/packages/shorebird_code_push_api/README.md
T
2023-03-02 21:21:41 -06:00

985 B

Shorebird CodePush API

🚧 This project is under heavy development 🚧

The Shorebird CodePush API is a server which exposes endpoints to support CodePush for Flutter applications.

Getting Started 🚀

The Shorebird CodePush API is written in Dart and uses Shelf.

Running Locally ☁️💻

To run the server locally, run the following command from the current directory:

dart bin/server.dart

This will start the server on localhost:8080.

Running in Docker 🐳

To run the server in Docker, make sure you have Docker installed.

You can create an image:

docker build -q .

Once you have created an image, you can run the image via:

docker run -d -p 8080:8080 --rm <IMAGE>

To kill the container:

docker kill <CONTAINER>

If you wish to delete an image you can run:

docker rmi <IMAGE>