https://github.com/jeffcore/flow-blockchain-starter-project
Starter project for Flow blockchain development using Flow-CLI, Flow Emulator, Go and React with Docker Containers.
https://github.com/jeffcore/flow-blockchain-starter-project
flow-blockchain
Last synced: 5 months ago
JSON representation
Starter project for Flow blockchain development using Flow-CLI, Flow Emulator, Go and React with Docker Containers.
- Host: GitHub
- URL: https://github.com/jeffcore/flow-blockchain-starter-project
- Owner: jeffcore
- Created: 2021-03-09T21:18:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T22:16:24.000Z (over 5 years ago)
- Last Synced: 2024-06-13T04:04:55.160Z (about 2 years ago)
- Topics: flow-blockchain
- Language: Dockerfile
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flow Blockchain Development Environment with Docker
WORK IN PROGRESS
Using Flow-CLI, Flow Emulator, Go Gin API with Flow Go SDK, and React with Docker Containers
## To Do
- [x] Dockerize Flow-CLI
- [x] Dockerize Flow Emulator (using 2nd instance of Flow CLI)
- [x] Dockerize Flow Go Environment using Flow Go SDK
- [ ] Dockerize React or VueJS App (haven't decided)
- [ ] Dockerize Deployment
- [ ] Build something and go to the MOON!
## How to use
### Clone Repo
1. git clone this repo
2. install docker
3. cd to root of project
### Start Flow Emulator (using Flow CLI)
1. run $ docker-compose build emulator
2. run $ docker-compose up emulator
### Start Flow CLI (used to run commands on project)
1. run $ docker-compose build cli
2. run $ docker-compose up cli
3. connect to flow-cli container
1. run $ docker ps
2. get the container id of flow-cli container
3. run $ docker exec -it \ sh
4. while in flow-cli container you can execute flow commands on your project
### Start API - Using Go Gin and Flow Go SDK
1. run $ docker-compose build api
2. run $ docker-compose up api
3. access app via http://localhost:8066/