diff options
author | Lizzy Hunt <logan.hunt@usu.edu> | 2023-02-16 14:07:18 -0700 |
---|---|---|
committer | Lizzy Hunt <logan.hunt@usu.edu> | 2023-02-16 14:08:17 -0700 |
commit | 3fca1d76238636b253b1b6f5bbb725d39e2a2c9e (patch) | |
tree | 785bf1bb7c8c6555026c5e104bfdf6fe6fc202b9 /README.md | |
parent | 312af9bc10d9cf2982e66153fbc1cd949ad1f169 (diff) | |
download | aggietimed-3fca1d76238636b253b1b6f5bbb725d39e2a2c9e.tar.gz aggietimed-3fca1d76238636b253b1b6f5bbb725d39e2a2c9e.zip |
Simple readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..fa4d6aa --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# AggietimeD + +AggietimeD is a simple daemon service written in 2.5 days to do some hacked CAS authentication, +then sit in the background, refreshing the AggieTime JWT periodically to ensure the session +doesn't expire, and listen to requests over a unix socket, making it easy to write scripts to +get Aggie Time data wherever you need it! + +## Installation + +Something among the lines of: + +``` +git clone https://github.com/Simponic/aggietime-cli +cd aggietime-cli +npm i + +sudo npm install -g . +cp .env.example .env +chmod 0700 .env +``` + +Then, set your A-Number and password in `.env`. + +Finally (optional), change the values in `aggietimed.service` and install it in +`~/.config/systemd/user`, and enable it with +`systemctl --user daemon-reload && systemctl enable --now --user aggietimed`. + +## Usage + +Look at `aggietimed -h`. |