Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shawwn/sparc
Arc Lisp
https://github.com/shawwn/sparc
arc lisp racket scheme
Last synced: 28 days ago
JSON representation
Arc Lisp
- Host: GitHub
- URL: https://github.com/shawwn/sparc
- Owner: shawwn
- License: mit
- Created: 2023-11-17T04:14:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-26T02:24:39.000Z (7 months ago)
- Last Synced: 2024-11-10T07:19:53.538Z (3 months ago)
- Topics: arc, lisp, racket, scheme
- Language: Arc
- Homepage:
- Size: 1.2 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: news.arc
Awesome Lists containing this project
README
# To run sparc
```
git clone http://github.com/shawwn/sparc
cd sparc
rlwrap bin/arc news.arc # rlwrap is optional
```go to http://localhost:8080
click on login, and create an account
you should now be logged in as an admin
# To customize News
change the variables at the top of news.arc
# To improve performance
```
(= static-max-age* 7200) ; browsers can cache static files for 7200 sec(declare 'direct-calls t) ; you promise not to redefine fns as tables
(declare 'explicit-flush t) ; you take responsibility for flushing output
; (all existing news code already does)
```# Production installation
```
# some prereqs
sudo pkg install racket shuf rlwrap# prereqs for plotting traffic graphs
sudo pkg install moreutils # sponge
sudo pkg install gnuplot# for email
sudo pkg install python # then install pip
sudo pip install --upgrade google-api-python-client oauth2client# PULL=10 means `git pull` every 10 seconds
PULL=10 FLUSH=nil bin/sparc
```