{"id":20900711,"url":"https://github.com/spree/spree_cli","last_synced_at":"2025-03-12T20:23:52.667Z","repository":{"id":60383692,"uuid":"511054385","full_name":"spree/spree_cli","owner":"spree","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-25T15:22:17.000Z","size":488,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-19T13:16:14.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-06T08:32:42.000Z","updated_at":"2023-11-26T07:54:07.000Z","dependencies_parsed_at":"2023-02-14T08:46:36.026Z","dependency_job_id":null,"html_url":"https://github.com/spree/spree_cli","commit_stats":null,"previous_names":["upsidelab/spree_cli_internal"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spree%2Fspree_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spree%2Fspree_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spree%2Fspree_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spree%2Fspree_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spree","download_url":"https://codeload.github.com/spree/spree_cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243287181,"owners_count":20267141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T11:21:52.227Z","updated_at":"2025-03-12T20:23:52.637Z","avatar_url":"https://github.com/spree.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spree CLI\n\nSpree CLI is a tool that makes it easy to bootstrap a new Spree project.\nIt provides an interactive process for configuring Spree backend (running in Dockerized, Hybrid or Native mode) and a selection of available frontends.\n\n## Dependencies\n\nNode 14+ is required to run the CLI. Depending on the chosen Spree setup, you will have to install different dependencies first:\n\n### Spree (dockerized)\n- docker \u003e= 20.0\n- docker-compose\n\n### Spree (no docker)\n- ruby = 3.2.0\n- vips \u003e= 8.6\n- gpg\n- psql\n- redis\n\n### Spree (hybrid)\n- docker \u003e= 20.0\n- docker-compose\n- ruby = 3.2.0\n- vips \u003e= 8.6\n- redis (only needed for running rspec tests)\n\n### Vue Storefront\n- node \u003e= 14.15 \u003c= 14.19\n- yarn\n\n### Next.js Commerce\n- node \u003e= 13.0\n- yarn\n\n## Usage\n\nTo get started, simply run the following command in your terminal:\n\n```bash\nnpx @spree/cli new app\n```\n\nThis will launch the interactive process that will guide you through the process of setting up a new Spree-based store.\n\nIn order to start the already generated app, navigate to your project's folder and run the following command:\n```bash\nnpx @spree/cli start app\n```\nHappy hacking!\n\n## Troubleshooting\n\n### 1. NextJS storefront doesn't start properly\nIf the Storefront doesn't start you need to relaunch server manually.\nTo do so you should navigate to `/integration` folder inside created project and type `yarn dev` into console.\n\n### 2. NextJS storefront stops during launch\n\nIn case if the server is randomly stopping during launch it is advised to stop it (for example with `ctrl + c`) and repeat steps mentioned above.\n\n\nIf you have encountered any other problem with NextJS you can also refer to NextJs docs: https://github.com/vercel/commerce\n\n\n## Overview\n\nThis repository contains CLI to integrate Spree and storefront of your choice\n\nThis repository is being developed and maintained by [Upside](https://upsidelab.io)\n\n\u003ca href=\"https://upsidelab.io\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/6420475/141106487-333774a5-04b2-46a4-8367-7cb11e46906e.png\" height=\"100px\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspree%2Fspree_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspree%2Fspree_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspree%2Fspree_cli/lists"}