Git Product home page Git Product logo

eelchat's People

Contributors

jacobobryant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eelchat's Issues

Custom tasks folder clashes with `bb tasks`

Description

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.

Steps to reproduce

$ 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

Expectations

$ 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.

Deploy works, but cannot find run-cmd message is bb logs

@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


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.