Remove .env/.env.example and build/install scripts
This commit is contained in:
parent
6bd957fbce
commit
0f2b21c452
4 changed files with 0 additions and 46 deletions
5
.env
5
.env
|
|
@ -1,5 +0,0 @@
|
|||
# Git credentials for containerized opencode
|
||||
GIT_NAME="João Carlos Machado de Paiva Araújo"
|
||||
GIT_EMAIL="joaocarlosmpa@gmail.com"
|
||||
GIT_TOKEN=""
|
||||
# Leave empty if not using HTTPS token auth with Forgejo/GitLab
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# Git credentials for containerized opencode
|
||||
# Copy to .env and fill in your values
|
||||
|
||||
GIT_NAME="Your Name"
|
||||
GIT_EMAIL="your.email@example.com"
|
||||
GIT_TOKEN=""
|
||||
# For Forgejo/GitLab, prefer Personal Access Token (PAT). Leave empty if not needed.
|
||||
# For HTTPS remotes with token: URL can be https://oauth2:<GIT_TOKEN>@<host>/<repo>
|
||||
# For SSH, configure SSH keys instead (not covered here).
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
||||
IMAGE_NAME="opencode"
|
||||
|
||||
echo "Building image '${IMAGE_NAME}' using Podman..."
|
||||
podman build -t "${IMAGE_NAME}" -f "${REPO_ROOT}/Containerfile" "${REPO_ROOT}"
|
||||
|
||||
echo "✅ Build completed: ${IMAGE_NAME}"
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
CODE_SCRIPT="${SCRIPT_DIR}/code"
|
||||
|
||||
INSTALL_DIR="${HOME}/bin"
|
||||
INSTALL_PATH="${INSTALL_DIR}/code"
|
||||
|
||||
if [[ ! -f "${CODE_SCRIPT}" ]]; then
|
||||
echo "Error: ${CODE_SCRIPT} not found." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p "${INSTALL_DIR}"
|
||||
|
||||
cp "${CODE_SCRIPT}" "${INSTALL_PATH}"
|
||||
chmod +x "${INSTALL_PATH}"
|
||||
|
||||
echo "Installed: ${INSTALL_PATH}"
|
||||
echo "Ensure ${INSTALL_DIR} is in your PATH."
|
||||
Loading…
Add table
Reference in a new issue