Skip to content

Devslopes Academy Student Assignment: Create a Pull Request

Notifications You must be signed in to change notification settings

Jmayoiii/devslopes-git-pr-assignment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Git 102 Assignment

📣 Getting Started

  1. Clone the repository: https://github.com/devslopes/devslopes-git-pr-assignment
  2. Create a remote repository for this project on Github
  3. Push this repository from the command line to Github. NOTE:: When adding this repository to Github, you will need to replace the word origin with destination (or any other word you wish to use). This is because the remote repository you cloned is already using the name, origin

🛠 Requirements

  1. Your commits and Pull Request MUST EXCLUDE OS generated files/folders and files with sensitive data. (i.e: OS-specific and editor specific settings, debug logs, build tools, etc).
  2. Your commit message should have a subject line and body. It should follow the 7 commit message convention guidelines

📝 Instructions

  1. Create a new branch off your local main branch called, feature/bug-tracking
  2. Create a .gitignore file
  3. Create a .env.local file and copy/paste the following into it:
**DUMMY DATA**

CONVERTKIT_API_URL=https://api.convertkit.com/v3/
CONVERTKIT_API_KEY=D4SkateFzVBORyLK98DIE4321
CONVERTKIT_API_SECRET_KEY=123lY2sshhh-456NoXOne7fvH6i2-knowesJ0

FORM_ID=1234567

CONTENTFUL_SPACE_ID=d3-space-crocodiles
CONTENTFUL_ACCESS_TOKEN=givejkW9NU_xGGTZxME-xUXTHE-XMgg711codesj4pN
  1. Update the .gitignore file to ignore OS generated files/folders and files with sensitive data
  2. As you make changes to this project, be mindful of the requirements (Requirements state the Pulll Request MUST EXCLUDE files with sensitive data).
  3. It's a good practice to check the changes in your project before adding them to the staging area. You want to make sure you are only tracking the files you intend to.
  4. Add and commit your changes locally
  5. Create a new file, .env.production.local
  6. Copy/paste the following sensitive data into, .env.production.local: SENTRY_DSN=https://1eb0a2142.ingest.sentry.io/711007
  7. Create a new file, app.js
  8. Add the following to app.js:
var loveToCode = true;
var BUG_TRACKING_DNS = process.env.production.local;
  1. Add and commit your changes locally
  2. Add the following to styles.css:
h2 { color: blue; }
  1. Add and commit your changes locally
  2. Push this branch to your remote repository. (This will create a new remote branch). Remember, when you push your code, don't use "origin". Use destination (or the whatever word you chose to use when you set up the remote repo)
  3. Create a Pull Request for this branch to be merged into main
  4. To submit your assignment, put the URL of your GitHub repository in a .txt file, zip the file and then upload it through your student portal so we can verify the commit history is correct. DO NOT MERGE YOUR PR UNTIL IT HAS BEEN APPROVED. A Devslopes mentor will review your PR (Pull Request), comment as necessary and reject or approve your PR

Notes:

  1. If you realize your PR includes files that are not supposed to be tracked, you can delete your local and remote repository and start over.

About

Devslopes Academy Student Assignment: Create a Pull Request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published