npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@creek/studio-cli

v0.0.8

Published

Creek Studio CLI - Creek.org

Downloads

17

Readme

Creek Studio CLI

A command line tool for Creek Studio.

  • You can use it to start a development environment.

  • Eventually, it will also deploy a production environment — once Creek Studio is ready for people to host it themselves.

Quick Start

With NPX

  1. Make sure that you have Node.js and Docker installed.

  2. Run this command:

    npx @creek/studio-cli create-dev
  3. Inspect the .env file.

    cd studio/studio-cli
    cat .env
    • The .env includes the initial user's email and password, among other settings.

    • This .env file will get copied to the studio-server project when you run the next command below (./creek start-dev).

      • Do not edit the .env file in the studio-server project directly.
  4. Start the development environment:

    ./creek start-dev

Options:

  • --domain (default: localhost)

    • If you want to use a different domain name, you can pass it in like this:

      npx @creek/create-studio-dev --domain "mydomain.com"
  • --path (default: ./studio)

    • The path to create the development environment in.

      npx @creek/create-studio-dev --path "/path/to/creek/studio"

./creek CLI

In addition to the NPX command above, you can directly use the ./creek script in this studio-cli project to run other commands.

Create a new development environment with ./creek

Create a new development environment like this:

  1. Make sure that you have Docker installed.

  2. Clone this repository:

    git clone [email protected]:studio/studio-cli.git
  3. Create a new project for development:

    cd studio-cli
    ./creek create-dev --domain "localhost"
    • This will clone the studio-interface and studio-server repositories into the same parent directory as this studio-cli repository.

    • It will also rebuild the .env file in this folder, including updating the domain name to localhost (or whatever you passed in as the --domain argument).

  4. Inspect the ./.env file in this studio-cli directory.

    • Includes the initial user's email and password, among other settings.

    • This .env file will get copied to the studio-server project when you run the next command below (./creek start-dev).

      • Do not edit the .env file in the studio-server project directly.
  5. Start the Creek Studio development environment:

    ./creek start-dev

Commands

Create Dev

This command will create a new project for development.

./creek create-dev --domain "localhost"

Start Dev

This command will start the project in development mode.

./creek start-dev

Start Dev in Background

This command will start the project in development mode, but in the background.

./creek start-dev-in-background

Logs

This command will show the logs for the project.

./creek logs all

Destroy

This command will destroy the project and all of its data, so that you can rebuild it from scratch.

./creek destroy