Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lenra-io/devtool
https://github.com/lenra-io/devtool
backend cloud-computing developer-tools devtools docker frontend ui
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lenra-io/devtool
- Owner: lenra-io
- License: agpl-3.0
- Created: 2021-08-12T13:29:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T13:00:07.000Z (7 months ago)
- Last Synced: 2024-06-05T14:39:54.897Z (7 months ago)
- Topics: backend, cloud-computing, developer-tools, devtools, docker, frontend, ui
- Language: Elixir
- Homepage:
- Size: 5.79 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![AGPL License][license-shield]][license-url]
DevTool
This repository provides tooling for testing and debugging Lenra applications. Basically, the devtools can easily launch a Lenra App using the same method as the Lenra Server.
Report Bug
·
Request Feature
## Getting Started
### Using Docker Hub
We provide a [docker image](https://hub.docker.com/r/lenra/devtools) on Docker Hub that you can use, it contains everything you need to unlock the full potential of the DevTools. We advise you to not use directly this image but to prefer using the [Lenra CLI](https://github.com/lenra-io/lenra_cli) which can launch the devtools from the command line.
### Using local docker
You might not want to use the Docker Hub image, if it is the case you can clone this repository and build the docker images following these instructions :
```bash
# Go the the client folder
cd client
# Build flutter web
flutter build web --no-tree-shake-icons
# Go to the root of the repository
cd ..
# Build docker image
docker build -t lenra/devtools:local .
```You can then use the [Lenra CLI](https://github.com/lenra-io/lenra_cli) to run your application. Just make sure that the `lenra.yml` file contains this specification to use the devtools image that you build in the previous step :
```yml
dev:
devtool:
tag: local
```### Using local environment
To run the devtools locally, not in a Docker container, you can use the following command :
```bash
# Go the the client folder
cd client
# Build flutter web
flutter build web --no-tree-shake-icons
# Copy the generated web folder to the server
cp -r build/web ../server/priv/static
# Go to the server folder
cd ../server
# Setup the server project
mix setup
# Start the server
mix phx.server
```To update the client, you can use the following command from the client folder :
```bash
# Build flutter web
flutter build web --no-tree-shake-icons
# Copy the generated web folder to the server
cp -r build/web ../server/priv/static
```## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please open an issue with the tag "enhancement" or "bug".
Don't forget to give the project a star! Thanks again!## License
Distributed under the **AGPL** License. See [LICENSE](./LICENSE) for more information.
## Contact
Lenra - [@lenra_dev](https://twitter.com/lenra_dev) - [email protected]
Project Link: [https://github.com/lenra-io/dev-tools](https://github.com/lenra-io/template-hello-world-node12)
[contributors-shield]: https://img.shields.io/github/contributors/lenra-io/dev-tools.svg?style=for-the-badge
[contributors-url]: https://github.com/lenra-io/dev-tools/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/lenra-io/dev-tools.svg?style=for-the-badge
[forks-url]: https://github.com/lenra-io/dev-tools/network/members
[stars-shield]: https://img.shields.io/github/stars/lenra-io/dev-tools.svg?style=for-the-badge
[stars-url]: https://github.com/lenra-io/dev-tools/stargazers
[issues-shield]: https://img.shields.io/github/issues/lenra-io/dev-tools.svg?style=for-the-badge
[issues-url]: https://github.com/lenra-io/dev-tools/issues
[license-shield]: https://img.shields.io/github/license/lenra-io/dev-tools.svg?style=for-the-badge
[license-url]: https://github.com/lenra-io/dev-tools/blob/master/LICENSE