Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cowprotocol/cms

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cowprotocol/cms

Cow Protocol CMS

  • 0.1.0-rc.2
  • npm
  • Socket score

Version published
Weekly downloads
213
decreased by-39.32%
Maintainers
5
Weekly downloads
 
Created
Source

CoW CMS - Content Management System

This project is a Content Management System for the cow.fi.

It is an instance of Strapi, a headless CMS.

API

Swagger Docs: https://cms.cow.fi/swagger.html

👨‍💻 Develop

yarn dev

Some requiremets are:

  • At least Node v16 (use a LTS version)
  • Yarn
  • PostgreSQL (optional), for local dev is easier to use sqlite3 (the default). Alternatively you can use PostgreSQL

Dev locally using PostreSQL

The easiest is to develop using sqlite, but if you want to use PostgreSQL, you need to install it first:

Once you know the running port, you can setup the .env file:

# Create an ENV file from the example
cp .env.example .env

Edit the .env file and set the database connection

To start with the new database, you simply start the dev server:

yarn dev

👷‍♀️ Build

yarn build

Run project (from a previous build)

🚨 For this command to work you must first have a build in place. You can do this via the previous command, yarn build.

yarn start

🐳 Run with Docker

# Create an ENV file from the example
cp .env.example .env

# Start the project
docker compose up

Then visit:

Also, a Postgres database will be exposed on port 5432.

⌨️ Strapi CLI

Strapi comes with a powerful CLI tooling Strapi documentation

# Check version of the Strapi CLI
yarn strapi version

# Help command
yarn strapi help

FAQs

Package last updated on 17 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc