Initialize a new Ralph Marketer project in the current directory
Initializes a complete Ralph Marketer project with directory structure, templates, and database.
/plugin marketplace add muratcankoylan/ralph-wiggum-marketer/plugin install ralph-wiggum-marketer@ralph-wiggum-marketersonnetSet up a new Ralph Marketer copywriting project in the current directory.
# Create directories
mkdir -p scripts/ralph content/{drafts,published} data src/{db,content}
# Copy database scripts from plugin
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}"
cp "$PLUGIN_ROOT/scripts/src/db/init.js" src/db/
cp "$PLUGIN_ROOT/scripts/src/db/seed.js" src/db/
cp "$PLUGIN_ROOT/scripts/src/db/status.js" src/db/
cp "$PLUGIN_ROOT/scripts/src/db/query.js" src/db/
cp "$PLUGIN_ROOT/scripts/src/content/list.js" src/content/
cp "$PLUGIN_ROOT/scripts/src/test.js" src/
# Copy Ralph templates
cp "$PLUGIN_ROOT/templates/prd.json" scripts/ralph/
cp "$PLUGIN_ROOT/templates/progress.txt" scripts/ralph/
cp "$PLUGIN_ROOT/templates/prompt.md" scripts/ralph/
# Copy package.json if it doesn't exist
if [ ! -f package.json ]; then
cp "$PLUGIN_ROOT/templates/package.json" .
fi
# Create .gitkeep files
touch content/drafts/.gitkeep content/published/.gitkeep data/.gitkeep
# Initialize git if needed
if [ ! -d .git ]; then
git init
fi
# Install dependencies
npm install
# Initialize and seed database
npm run db:reset
echo "✅ Ralph Marketer initialized!"
echo ""
echo "Next steps:"
echo " 1. Edit scripts/ralph/prd.json with your content tasks"
echo " 2. Run /ralph-marketer to start the loop"
The user should:
scripts/ralph/prd.json with their specific content taskssrc/db/seed.js with their own trends/research/communications/ralph-marketer to start the autonomous content creation loop