conure

module
v0.0.0-...-81a8576 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: AGPL-3.0

README

Conure

Running the development environment

1. Pre requisites
  • Install docker and docker-compose.
  • Install the Dapr framework, the CLI and initialize the local environment (https://docs.dapr.io/getting-started/install-dapr-cli/)
  • You will need a postgres and a redis server available. You could use the ones present in the docker-compose.yml file, simply run:
$ docker-compose run -d db
$ docker-compose run -d redis 
  • Set the environments file by making a copy of the config.env file and renaming it to .env.

NOTE: Take in consideration that the DB_URL variable inside the config.env file is set with the credentials of the postgres in the docker-compose file, if you want to use your own postgres instance you must change the content of the DB_URL to fit your instance.

2. Run the dapr sidecars

from the project's root folder, you must run the following command:

$ dapr run -f ./dapr/dev/.

This will run the sidecars for the applications, and now you can run each application individually, i.e.

$ go run ./cmd/api-server/main.go

Directories

Path Synopsis
apis
core/v1alpha1
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.conure.io
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.conure.io
cmd
internal
k8s
pkg
client/core_conure/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/core_conure/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/core_conure/typed/core/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/core_conure/typed/core/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL