- clone the repository:
git clone https://github.com/devslopes/devslopes-git-pr-assignment
- Create a
.gitignore
file
- 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
- 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).
- Update the
.gitignore
file to ignore OS generated files/folders and files with sensitive data
- Add and commit your changes
- As you make changes to this project, be mindful of the requirements
- Create a remote repository for this project on Github
- 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
git remote add destination <your_github_repo_url>
git branch -M main
git push -u destination main
- After making your initial push to your remote repository, create a new branch off your local
main
branch called, feature/bug-tracking
- Create a new file,
.env.production.local
- Copy/paste the following sensitive data into,
.env.production.local
:
SENTRY_DSN=https://1eb0a2142.ingest.sentry.io/711007
- Create a new file,
app.js
- Add the following to
app.js
:
var loveToCode = true;
var BUG_TRACKING_DNS = process.env.production.local;
- Add the following to
styles.css
:
- Commit your changes locally. Your commit message should have a subject line and body. It should follow the 7 commit message convention guidelines
- 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)
- Create a Pull Request for this branch to be merged into
main
- 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. A Devslopes mentor will review your PR (Pull Request), comment as necessary and reject or approve your PR