DEV Community

Cover image for How did I reduce project onboarding from 2H 😫 to 3 MINUTES πŸ”₯πŸ”₯πŸ”₯ ?
MoRoth
MoRoth

Posted on

6 1 2 1 2

How did I reduce project onboarding from 2H 😫 to 3 MINUTES πŸ”₯πŸ”₯πŸ”₯ ?

Following along "Getting started" texts for complex projects can be frustrating. It is also hard to write them well and also it requires the people following it to do many many manual actions.

Taking for example Cocmd
For someone to get stared it requires having

  • git installed
  • node installed
  • vscode (or some other ide)
  • cloning all the repos
  • setting up git hooks
  • going one by one and building with npm and cargo

So instead of writing a long readme on how to do all that.
We decided to use cocmd own cli to create super fast onboarding experience for project contributors:

  1. Install cocmd Getting Started
  2. install and Run the Contributors onboarding packages:
cocmd install https://github.com/cocmd/cocmd
cocmd run cocmd.contrib-onboarding

Enter fullscreen mode Exit fullscreen mode

asciicast

it's going to:

  • install git
  • install rust
  • install node
  • clone all Cocmd repos
  • build the website
  • build cocmd cli
  • open vscode with all the repos

You can do the same for your own projects

and be the superhero of productivity in your workplace!

  • onboarding
  • playbooks
  • sharing cmd stuff

Use cocmd to make your dev life better cocmd.org

join the open source project

How can you help?

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (2)

Collapse
 
edong profile image
Eric Dong β€’

That's cool! But looks like it is only available for Linux and MacOS? A robust way is using docker as a dev environment. Setup is simplly installing docker, run docker build, and run docker run.

At work I wrap the docker build and docker run commands into scripts for ease.

Collapse
 
mzsrtgzr2 profile image
MoRoth β€’

Thanks @edong
we actually do support windows but it's not fully tested.
you can try it out directly from release

what things you do with docker? how "far" do you take it

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay