Skip to content

davlgd/taskdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Clever Cloud Task demo

Get this project code by cloning it from GitHub:

git clone https://github.com/davlgd/taskdemo.git

Create a Clever Cloud JS application, as a task:

clever create -t node --task "bash task.sh"

You can try the old school way:

clever create --type node
clever env set CC_TASK "true"
clever env set CC_RUN_COMMAND "bash task.sh"

Git push!

git add . && git commit -m "Initial commit"
clever deploy

One-liner addict, you can just obtain the result URL and open it in your browser:

open $(clever deploy | grep -o 'http[s]\?://sprunge[^ ]*') 

Depending on your operating system, the open command can differ. On Linux, you can use xdg-open instead.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages