- Clone the repo
- Rename the folder to your Project, you can use the
mv
command likemv mern-boilerplate yourprojectname
- Delete the
.git
file, when you are in the root of the file, you can pressls
and you should see a.git
file, then go ahead and runrm -rf .git
- go to github and create your github and create a repo (Without a readme or liscense you can add that later!)
- Then follow the directions on github that says
…or create a new repository on the command line
it should look like this
git init
git add .
git commit -m "first commit"
git remote add origin git@git.generalassemb.ly:SEI-CC/test.git // this will be whatever your address will be
git push -u origin master
npm install
DOTENV
touch .env
add your variables
DATABASE_URL=mongodb://localhost:27017/testagramV2
BUCKET_NAME=catcollectorone
SECRET=mysecretforjwt
The app is configured, to use those respective key names for the database, jwt secret and aws bucket, of course you'll have your own values