updated docs
This commit is contained in:
parent
820cd2be82
commit
86a0dd4c9f
2 changed files with 11 additions and 2 deletions
|
@ -91,6 +91,14 @@ with later timestamps to avoid duplicate posts. On the first run the timestamp w
|
||||||
|
|
||||||
*/30 * * * * npm start /path/to/config.edn > /dev/null 2>&1
|
*/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
|
## License
|
||||||
|
|
||||||
Copyright © 2018 Dmitri Sotnikov
|
Copyright © 2018 Dmitri Sotnikov
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{:source-paths ["mastodon_bot"]
|
{:source-paths ["mastodon_bot"]
|
||||||
:dependencies []
|
:dependencies []
|
||||||
:builds {:app {:target :node-script
|
:builds {:app {:target :node-script
|
||||||
:output-to "target/mastodon-bot.js"
|
:output-to "target/mastodon-bot.js"
|
||||||
:main mastodon-bot.core/main}}}
|
:main mastodon-bot.core/main
|
||||||
|
:compiler-options {:optimizations :simple}}}}
|
||||||
|
|
Reference in a new issue