jacobobryant / eelchat Goto Github PK
View Code? Open in Web Editor NEWThe world's finest discussion platform
The world's finest discussion platform
I was going through the tutorial and noticed that bb tasks
does not list the tasks in /bb.edn
, but tries to run the folder instead.
$ bb -e '(load-string (slurp "https://biffweb.com/new-project.clj"))' tutorial
Enter name for project directory: repro-issue
Enter main namespace (e.g. com.example): testing
Your project is ready. Run the following commands to get started:
cd repro-issue
git init
git add .
git commit -m "First commit"
bb dev
And run `bb tasks` for a list of available commands.
$ cd repro-issue
$ bb tasks
----- Error --------------------------------------------------------------------
Type: java.io.FileNotFoundException
Message: tasks (Is a directory)
Software versions:
babashka v1.3.182
Ubuntu 22.04.3 LTS
$ bb tasks
The following tasks are available:
dev Starts the app locally.
format Formats the code with cljfmt.
clean Deletes generated files.
generate-secrets Prints new values to put in secrets.env.
hello An example of a custom task.
deploy Deploys the app via `git push`.
soft-deploy Hotswaps modified code into the server.
refresh Reloads code and restarts the system via `clojure.tools.namespace.repl/refresh` (on the server).
restart Restarts the app process via `systemctl restart app` (on the server).
logs Tails the server's application logs.
prod-repl Opens an SSH tunnel so you can connect to the server via nREPL.
prod-dev Runs the auto-soft-deploy command whenever a file is modified. Also runs prod-repl and logs.
post-receive Internal. Runs on the server after a git push.
run-cmd Internal. Used by the server to start the app.
@jacobobryant Thank you so much for this lib. works great, I just have this issue when following along in the tutorial. I very well could have missed something:
When running bb logs
an 17 05:05:39 nspin sh[956]: ----- Error --------------------------------------------------------------------
Jan 17 05:05:39 nspin sh[956]: Type: java.lang.Exception
Jan 17 05:05:39 nspin sh[956]: Message: File does not exist: run-cmd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.