You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fotobox/README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# IBM Fotobox
2
2
3
-
This is the IBM Fotobox. Deploy your own Fotobox straight to the IBM Cloud Access it directly from any device with browser and camera. Take Pictures and view them all from your device.
3
+
This is the IBM Fotobox. Deploy your own Fotobox straight to the IBM Cloud access it directly from any device with browser and camera. Take pictures and view them all from your device.
4
4
5
5
The solution is based on:
6
-
- The frontend a Svelte Single Page Application running as a App on Code Engine able to scale to 0 in oder to optimise cost.
7
-
- The Upload function which generates a thumbnail of the image and stores both in COS written in Python and running as a Function on Code Engine.
8
-
- The Downloader a Go programm designed to serve the images stored in COS or download all at one go if you are the operator of the fotobox.
9
-
- All Images are stored in IBM Cloud Object Storage to ensure security and scalability.
6
+
- The "frontend" a Svelte Single Page Application(SPA) running as a Code Engine app, that is able to scale to 0 in oder to optimise cost.
7
+
- The "upload" function which generates a thumbnail of the image and stores both in COS written in Python and running as a Code Engine function.
8
+
- The "downloader" a Go program designed to serve the images stored in COS or download all at one go if you are the operator of the fotobox.
9
+
- All images are stored in IBM Cloud Object Storage to ensure security and scalability.
10
10
11
11
## Setup
12
12
@@ -21,28 +21,28 @@ already installed) and make sure you have a IBM Cloud Account:
21
21
22
22
## Automated Setup
23
23
24
-
In order to make the setup as convinent as possible we probide you with a setupscript which uses teraform and the IBM Cloud CLI
24
+
In order to make the setup as convenient as possible we probide you with a setup script which uses terraform and the IBM Cloud CLI
25
25
26
-
1.configure the `terraform.auto.tfvars` with your apikey and your resource group id
26
+
1.Configure the `terraform.auto.tfvars` with your apikey and your resource group id
27
27
28
-
2. Run the `setup.sh <apikey>`and it will deploy all the required components and done
28
+
2. Run the `setup.sh <apikey>`and it will deploy all the required components and done
29
29
30
30
## Manual setup
31
31
32
-
1. Setup COS with cos bucket this can be done over the UI or using the CLI
32
+
1. Setup a COS instance and a COS bucket this can be done over the UI or using the CLI
33
33
note dont the bucket name and API credentials
34
34
35
-
2. Deploy the Upload Function using the CLI
35
+
2. Deploy the "upload" function using the CLI
36
36
```bash
37
37
ibmcloud ce fn create --name fotobox-cos-upload --runtime python --build-source upload-function
38
38
```
39
39
40
-
3. Deploy the Download App using the CLI
40
+
3. Deploy the "download" app using the CLI
41
41
```bash
42
42
ibmcloud ce app create --name fotobox-get-pics --build-dockerfile Dockerfile --build-source download-app
43
43
```
44
44
45
-
4. Create a Secret map containing the following values. use the following command to create the password
45
+
4. Create a secret map containing the following values. Use the following command to create the password
0 commit comments