revertinc / revert

Revert makes it incredibly easy to build integrations with any third party API
https://revert.dev
GNU Affero General Public License v3.0
947 stars 74 forks source link

chore: remove duplicate commands on repo's readme #380

Closed majjikishore007 closed 11 months ago

majjikishore007 commented 11 months ago

Description

In this update, I have eliminated redundant command lines in the setup script, specifically the duplicate cp .env.example .env commands. This change simplifies the initial setup process and reduces potential confusion for new contributors.

Type of change

Changes

before:

# Get the code
git clone --depth 1 https://github.com/revertinc/revert

# Copy the example env file
cp .env.example .env
cp .env.example .env
cp packages/backend/.env.example packages/backend/.env
cp packages/client/.env.example packages/client/.env
cp packages/js/.env.example packages/js/.env
cp packages/react/.env.example packages/react/.env
cp packages/vue/.env.example packages/vue/.env

# Update these .env files with your own secrets if you'd like to.

# Then In the root directory run

# When running for the first time to seed the database. (RUN ONLY ONCE)
docker-compose run db-seed

# For subsequent runs
docker-compose up -d

after:

# Get the code
git clone --depth 1 https://github.com/revertinc/revert

# Copy the example env file
cp .env.example .env
cp packages/backend/.env.example packages/backend/.env
cp packages/client/.env.example packages/client/.env
cp packages/js/.env.example packages/js/.env
cp packages/react/.env.example packages/react/.env
cp packages/vue/.env.example packages/vue/.env

# Update these .env files with your own secrets if you'd like to.

# Then In the root directory run

# When running for the first time to seed the database. (RUN ONLY ONCE)
docker-compose run db-seed

# For subsequent runs
docker-compose up -d
vercel[bot] commented 11 months ago

@majjikishore007 is attempting to deploy a commit to the Revertdev Team on Vercel.

A member of the Team first needs to authorize it.

github-actions[bot] commented 11 months ago

Thank you for following the naming conventions for pull request titles! 🙏

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
revert-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 9:26am