Compare commits

..

No commits in common. "49db06b15797287046204488608e6aaa38cdc5c7" and "f5ac69dd6abf77b520580c60a572a1dc2030291d" have entirely different histories.

6 changed files with 2 additions and 330 deletions

8
.idea/.gitignore generated vendored
View File

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

8
.idea/modules.xml generated
View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/test2.iml" filepath="$PROJECT_DIR$/.idea/test2.iml" />
</modules>
</component>
</project>

12
.idea/test2.iml generated
View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml generated
View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

106
.idea/workspace.xml generated
View File

@ -1,106 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="dbf015c9-6bab-4a1d-a684-86aeb179d794" name="Changes" comment="OK, now diff starting point" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Rebase.Settings">
<option name="NEW_BASE" value="gitea/main" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="ProjectColorInfo"><![CDATA[{
"associatedIndex": 2
}]]></component>
<component name="ProjectId" id="309B32upqZUCp1oSL3Vdvq62rQH" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"git-widget-placeholder": "Rebasing main",
"last_opened_file_path": "/Users/michaelmainguy/test2",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-js-predefined-d6986cc7102b-822845ee3bb5-JavaScript-WS-243.23654.157" />
</set>
</attachedChunks>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="dbf015c9-6bab-4a1d-a684-86aeb179d794" name="Changes" comment="" />
<created>1753029706563</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1753029706563</updated>
<workItem from="1753029707902" duration="12811000" />
</task>
<task id="LOCAL-00001" summary="Updated to reflect current nodejs setup for container template.">
<option name="closed" value="true" />
<created>1753118822980</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1753118822980</updated>
</task>
<task id="LOCAL-00002" summary="changed remote to see if it works.">
<option name="closed" value="true" />
<created>1753118883424</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1753118883424</updated>
</task>
<task id="LOCAL-00003" summary="OK, now diff starting point">
<option name="closed" value="true" />
<created>1753118998769</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1753118998769</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="Updated to reflect current nodejs setup for container template." />
<MESSAGE value="changed remote to see if it works." />
<MESSAGE value="OK, now diff starting point" />
<option name="LAST_COMMIT_MESSAGE" value="OK, now diff starting point" />
</component>
</project>

192
README.md
View File

@ -1,191 +1,3 @@
#Test Repo
this is a test repo
This is a test edit
#Set up nodejs alpine base image with nvm and nodejs 22
# cloudless-retail
```shell
apk update
apk upgrade
apk add bash bash-completion curl python3 shadow
apk add build-base linux-headers git
adduser nodejs
su - nodejs
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 22.17.1
echo "source ~/.nvm/nvm.sh && nvm use 22.17.1" > .profile
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /usr/bin/cloudflared
chmod +x /usr/bin/cloudflared
exit
exit
```
##did this make it?
0 ls -al
1 ps -ef
2 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
3 apt install curl
4
5
6 df -u
7 df -h
8
9 ls
10 ls -al
11
12 nvm install 22
13 apk install python
14 apk add python
15
16 df -h
17 nvm install 22
18
19 df -h
20 nvm install 22
21
22 nvm install 22
23 history
24 nvm install 22
25 ls -al
26 ls .nvm
27 source .nvm/nvm.sh
28
29 pwd
30 node --version
31 pwd
32 ls -al
33 cd alias
34 ls
35 cd ..
36 ls -al
37 ps -ef
38 nvm
39 ls -al
40 cd .nvm
41 ls
42 less nvm.sh
43 ls -al
44 less nvm-exec
45 ls -al
46 less bash_completion
47 ls -al
48 echo $NVM_HOME
49 export $NVM_HOME=/tmp
50 export NVM_HOME=/tmp
51 nvm ls
52 nvm
53 nvm cache dir
54 ls -al
55 cd ..
56 ls -al
57 cd .cache
58 ls
59 ls -al
60 cd bin
61 ls
62 cd ..
63 cd src
64 ls
65 cd node-v22.17.1
66 ls
67 cd files
68 ls
69 cd
70 ls -alrt
71 ls /opt
72 ls
73 ls -al
74 ls -al /
75 ls -al
76 mv .nvm /opt/nvm
77 pwd
78 ls -al
79 ls alias
80 ls versions
81 ls -al
82 less .ssh
83 ls .ssh
84 ls -al .ssh
85 cat .ssh/authorized_keys
86 ls -al
87 cd alias
88 ls -al
89 cd ..
90 ls -al
91
92 su - nodejs
93 ls -al
94 pwd
95 ls /home
96 pwd
97 ls -al
98 cd
99 ls -al
100 cd .cache
101 ls
102 cd ..
103 ls -al
104 ls /opt
105 mv /opt/nvm /home/nodejs/.nvm
106 mv .cache /home/nodejs/.nvm
107 mv alias /home/nodejs
108 ls /home/nodejs
109 ls -al /home/nodejs
110 ls -al /home/nodejs/.nvm
111 mv /home/nodejs/.nvm/.cache /home/nodejs
112 ls -al
113 mv versions /home/nodejs
114 su - nodejs
115 chwon -R nodejs:nodejs /home/nodejs
116 chown -R nodejs:nodejs /home/nodejs
117 su -
118 exit
119 su - nodejs
120 exit
121 su -d nodejs
122 su - nodejs
123 su -
124 ls a-l
125 ls -al
126 exit
127 ls -al
128 su - nodejs
129
130 git
131
132
133 cloudflared -v
134 rc-update cloudflared
135 rc-update del cloudflared
136 rc-update add cloudflared
137 /etc/init.d/cloudflared start
138 ls /etc/init.d
139 cloudflared --help
140 cloudflared tunnel --help\
141 ls -al
142 cd .ssh
143 ls -al
144 less authorized_keys
145 ls -al
146 cd ..
147 ls -al
148 cat /etc/passwd
149 su - nodejs
150 ls -al
151 su - nodejs
152 ls -al
153 mv ~/.ssh/authorized_keys /home/nodejs/.ssh/authorized_keys
154 ls -al
155 su - nodejs
156 chown nodejs:nodejs /home/nodejs/.ssh/authorized_keys
157 su - nodejs
158 ls -al
159 cd .ssh
160 ls
161 ls -al
162 cd ..
163 ls -al
164 ls- al
165 ls -al
166 cat .ash_history
167 history -a
example of how to build a retail cloud using existing retail locations, networking to build a customer experience first and cloudless solution that operates like a cloud solution.