diff --git a/.env_example b/.env_example new file mode 100644 index 0000000..ac9eadf --- /dev/null +++ b/.env_example @@ -0,0 +1,6 @@ +NEO4J_URL="neo4j://localhost:7687" +PASSWORD=IAMmeIAMme!1! +NEO4J_AUTH="neo4j/${PASSWORD}" +NEO4J_server_memory_heap_initial__size=12G +NEO4J_server_memory_heap_max__size=16G +NEO4J_server_memory_pagecache_size=12G \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d4e5f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.code-workspace +!.vscode/*.json +*.json +.env +dist \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dd14f8a --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +BUILD_FLAGS=-ldflags="-s -w" +OUT_DIR=dist +OUT_PREFIX=iamme + +start: + @if [ ! -f ./.env ]; then\ + cp .env_example .env;\ + fi + docker-compose up -d + +build: + go build ${BUILD_FLAGS} -o ${OUT_PREFIX} + +compile: build + GOOS=freebsd GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-freebsd-amd64 + GOOS=linux GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-linux-amd64 + GOOS=windows GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-windows-amd64 + GOOS=darwin GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-darwin-amd64 + GOOS=darwin GOARCH=arm64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-darwin-arm64 + +clean: + @rm -rf ./${OUT_DIR} + @rm -f ./${OUT_PREFIX} + @docker-compose stop + @docker-compose down -v + @docker-compose rm -fv \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..23f5a2d --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# IAMme IAMme + +## ChatGPT definition + +> "IAMme IAMme" seems to be an unusual and distinctive name. It appears to emphasize "IAM," which stands for Identity and Access Management, and could work as a creative and memorable name for a tool related to Okta or similar IAM systems. diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..0774535 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,24 @@ +version: "3" + +services: + neo4j: + image: neo4j:latest + hostname: neo4j + container_name: neo4j + ports: + - "7474:7474" + - "7687:7687" + volumes: + - okta_Data:/data + environment: + NEO4J_PLUGINS: '["apoc"]' + NEO4J_AUTH: $NEO4J_AUTH + NEO4J_server_memory_heap_initial__size: ${NEO4J_server_memory_heap_initial__size} + NEO4J_server_memory_heap_max__size: ${NEO4J_server_memory_heap_max__size} + NEO4J_server_memory_pagecache_size: ${NEO4J_server_memory_pagecache_size} + NEO4J_server_jvm_additional: "-XX:+ExitOnOutOfMemoryError" + NEO4J_initial_dbms_default__database: "okta" + NEO4J_dbms_cypher_forbid__shortestpath__common__nodes: "false" + +volumes: + okta_Data: diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..8dd7de7 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module IAMme-IAMme + +go 1.20 diff --git a/iamme b/iamme new file mode 100755 index 0000000..c67de76 Binary files /dev/null and b/iamme differ diff --git a/main.go b/main.go new file mode 100644 index 0000000..9205e8b --- /dev/null +++ b/main.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("IAMme IAMme") +}