Skip to content

Commit 1b3eb26

Browse files
committed
Replace current frontend code with simpler html (#421)
Javascrip Tracker file is renamed to random 8 character string according to the recommendation in the following page: https://docs.snowplow.io/docs/sources/trackers/web-trackers/tracker-setup/hosting-the-javascript-tracker/self-hosting-the-javascript-tracker-aws/
1 parent e7a8dc5 commit 1b3eb26

File tree

33 files changed

+550
-5758
lines changed

33 files changed

+550
-5758
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ Some advice on how to handle certain errors if you're trying to build this local
7474

7575
Your Vagrant version is probably outdated. Use Vagrant 2.0.0+.
7676

77-
### `npm install` results in `enoent ENOENT: no such file or directory, open '/package.json'`
78-
79-
This is caused by trying to use NFS. Comment the relevant lines in `Vagrantfile`.
80-
81-
Most likely this will happen on `TASK [sp_mini_5_build_ui : Install npm packages based on package.json.]` but see also: [https://discourse.snowplowanalytics.com/t/snowplow-mini-local-vagrant/2930](https://discourse.snowplowanalytics.com/t/snowplow-mini-local-vagrant/2930).
82-
8377
## Topology
8478

8579
Snowplow Mini runs several distinct applications on the same box which are all linked by NSQ topics. In a production deployment each instance could be an Autoscaling Group and each NSQ topic would be a distinct Kinesis Stream.

provisioning/local_setup.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44

55
roles:
66
- base
7-
- typescript
87
- packer
98
- sp_mini_1_create_dirs
109
- sp_mini_3_build_go_projects
1110
- sp_mini_4_setup_apps
12-
- sp_mini_5_build_ui
1311
- sp_mini_6_copy_ui_folders
1412
- sp_mini_7_setup_init
1513
- docker

provisioning/resources/configs/Caddyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
uri strip_prefix /home
2626
root * /home/ubuntu/snowplow/ui
2727
header {
28-
Content-Security-Policy "default-src 'self'; script-src 'self' cdn.jsdelivr.net 'unsafe-inline'; frame-ancestors 'none'; style-src 'self' 'unsafe-inline'"
28+
Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; connect-src 'self'; font-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none';"
2929
X-Frame-Options "DENY"
3030
}
3131
file_server

provisioning/resources/ui/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

provisioning/resources/ui/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

provisioning/resources/ui/assets/css/main.css

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)