Skip to content

Commit 61c53f1

Browse files
committed
initial commit
0 parents  commit 61c53f1

File tree

119 files changed

+7878
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+7878
-0
lines changed

.devcontainer/For_VSCode.dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# VSCode uses this file to create a development container, for you to customize and test API Logic Projects.
2+
#
3+
# Per .devcontainer/devcontainer.json, VSCode will offer to open your API Logic Server Project in this docker container
4+
# Same as: View > Command > Remote-Containers: Open Folder in Container.
5+
#
6+
# https://apilogicserver.github.io/Docs/DevOps-Docker/
7+
#
8+
FROM apilogicserver/api_logic_server
9+
USER api_logic_server
10+
CMD ["bash"]

.devcontainer/devcontainer.json

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/docker-existing-dockerfile
3+
{
4+
"name": "Existing Dockerfile",
5+
6+
// Sets the run context to one level up instead of the .devcontainer folder.
7+
"context": "..",
8+
9+
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
10+
"dockerFile": "For_VSCode.dockerfile",
11+
12+
// Set *default* container specific settings.json values on container create.
13+
// "settings": {},
14+
15+
// add network -- enable this as required, e.g., https://apilogicserver.github.io/Docs/Database-Connectivity/
16+
// "runArgs": ["--network=dev-network"],
17+
18+
// Add the IDs of extensions you want installed when the container is created.
19+
// "extensions": [], **** Note - Python added in customizations (autoloads Python in devcontainer)
20+
21+
"customizations": {
22+
// Configure properties specific to VS Code.
23+
"vscode": {
24+
// Set default container specific settings.json values on container create.
25+
"settings": {},
26+
"extensions": ["ms-python.python"]
27+
}
28+
},
29+
30+
"portsAttributes": {
31+
"5656": {
32+
"label": "AdminApp"
33+
}
34+
},
35+
36+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
37+
"forwardPorts": [5656],
38+
39+
"features": {
40+
"github-cli": "latest"
41+
},
42+
43+
"postAttachCommand": "/bin/bash .devcontainer/setup.sh"
44+
45+
// Uncomment the next line to run commands after the container is created - for example installing curl.
46+
// "postCreateCommand": "apt-get update && apt-get install -y curl",
47+
48+
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
49+
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
50+
51+
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
52+
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
53+
54+
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
55+
// "remoteUser": "vscode"
56+
}

.devcontainer/setup.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# echo "gh codespace ports -c $CODESPACE_NAME" >> ~/.bashrc
2+
3+
if [ -z "$CODESPACE_NAME" ]
4+
then
5+
echo "devcontainer ready with defined ports"
6+
else
7+
echo ".devcontainer/setup: port creation..."
8+
gh codespace ports visibility 5656:public -c $CODESPACE_NAME
9+
echo ".devcontainer/setup: port created"
10+
fi

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
/build/
3+
/dist/
4+
**/__pycache__
5+
*.egg-info
6+
venv/
7+
test/api_logic_server_behave/scenario_logic_logs/
8+
devops/docker-compose-dev-local-nginx/www
9+
devops/docker-compose-dev-azure-nginx/www

.idea/runConfigurations/ApiLogicServer.xml

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Report_Behave_Logic.xml

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Run_Behave.xml

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Windows_Run_Behave.xml

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/run___No_Security.xml

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/run_docker.xml

+59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)