Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #50 from raboof/dont-commit-compiled-js
Browse files Browse the repository at this point in the history
Don't commit compiled javascript files
  • Loading branch information
yogthos authored Jun 27, 2020
2 parents 80713d5 + 1e8a02d commit 8409e5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5,289 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ package-lock.json
/.shadow-cljs
/node_modules
/target
/mastodon-bot.js
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,13 @@ with later timestamps to avoid duplicate posts. On the first run the timestamp w

* transformations have source `(s/def ::source-type #{:twitter :rss :tumblr})` und target `(s/def ::target-type #{:mastodon})` you can combine freely. Multiple transformations for same source-target combination are possible. Source and targets refer to the auth section for their credentials.

* compile: `npx shadow-cljs release app`

* run the bot: `npm start`
* to poll at intervals setup a cron job such as:

*/30 * * * * npm start /path/to/config.edn > /dev/null 2>&1

### compiling to Js

Alternatively, the bot can be compiled directly to JavaScript using the following command:

```
npx shadow-cljs release app
```

## License

Copyright © 2018 Dmitri Sotnikov
Expand Down
Loading

0 comments on commit 8409e5f

Please sign in to comment.