ayushagg31 / Trellis

A simplified Trello clone built with React, Redux, Node, Express and MongoDB.
https://trellis-app.herokuapp.com
GNU General Public License v3.0
127 stars 54 forks source link

Updating readme files with correct command #32

Closed jacubsmith closed 3 years ago

jacubsmith commented 3 years ago

Overview Description

Changing command to create the dev.env file and adding echo to populate it for ease of use. Have chosen master as merge branch to keep up to date with README changes.

Issue Reference:

closes #31

Changes

Change mkdir to touch.

Expected Outcome

Create a file and not a directory

ayushagg31 commented 3 years ago

Thanks @jacubsmith for pointing out this mistake, although touch is a Linux specific command, so please create instruction for both windows and Linux seperately.

Windows

cd ../config 
(
echo PORT=1313
echo DATABASE_URL="MongoDB Connection String"
echo JWT_SECRET="YOUR JWT TOKEN"
echo NODE_ENV=development
) > dev.env
jacubsmith commented 3 years ago

@ayushagg31 thanks for pointing that out, I'll update the PR for you this evening

jacubsmith commented 3 years ago

Windows

Have tested this command on my machine (macOS) and it works fine so have used it for both.

ayushagg31 commented 3 years ago

Great.