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
This will produce a symlink called "result" in your local directory. The program
21
+
can be run as follows:
24
22
25
-
These steps seem to require python2, which does not ship with most linux distributions and is sunset. Therefore, it is recommended to run this app through docker instead (though of course, vulnerability will still exist - they will just be constrained to the container).
26
-
1. Clone the repository.
27
-
2. Navigate to the repository directory.
28
-
3. Create a `.env` file based on `.env.example`.
29
-
4. Run `npm install` to install dependencies.
30
-
31
-
## How to use
32
-
33
-
1. Run `npm run start` to start the npm server or `npm run watch` to watch for changes.
34
-
2. Navigate the browser to `locahost:8080` or the port specified in the `.env` config.
35
-
36
-
## Offline Mode
37
-
38
-
Offline mode will disable api requests to the server leaving only the clock running. It can be activated by going to `/offline` path.
39
-
40
-
## Demo Mode
41
-
Demo mode works like offline mode but displays demo information instead of real data from apis. It can be activated by going to `/demo` path.
42
-
43
-
## Configuration
44
-
To override the default config, you can use the URL GET parameters or by pressing `c` to open the config options.
This project follows a standard NixOS deployment process. Utilize the [`nixos/configuration.nix`](./nixos/configuration.nix) file to deploy a standard NixOS installation on a given machine. This sets up [cage](https://github.com/Hjdskes/cage) which is a Wayland kiosk application. The configuration is setup to launch Google Chrome and visit a local dockerized instance of the project.
97
-
98
-
## Step 1: Build the application
99
-
100
-
Build the application locally.
101
-
102
-
```bash
103
-
docker build -t acm-uic/simple-ts-clock:latest .
104
-
```
105
-
106
-
## Step 2: Setup environment secrets
107
-
108
-
Make a copy of the example `.env` file and populate the variables with the ones used for your setup.
Make sure to change `system.autoUpgrade` to point to your repo, or disable it.
114
51
115
-
## Step 3: Run Docker-compose
116
-
117
-
Run the application using docker-compose.
118
-
119
-
```bash
120
-
docker-compose up -d
121
-
```
122
52
123
53
# Authors
124
54
@@ -127,3 +57,6 @@ This project was originally a rewrite of [sudoclock](https://github.com/acm-uic/
127
57
The project has since been rewritten mostly in the [simple-js-clock](https://github.com/bmiddha/simple-js-clock) repo by [bmiddha](https://github.com/bmiddha) and other contributors.
128
58
129
59
In January 2023, the simple-js-clock repo was forked to continue development here.
60
+
61
+
In February 2025, @SohamG and @clee231 updated the app to Node 20 and added the
0 commit comments