- From Github, navigate to the
App.vuefile in thesrcfolder. Tap the pencil icon and edit the text enclosed by<p>tags.
-
To contribute to the website, you first need to install
gitand to make aGitHubaccount. Instructions for installinggitcan be found here. To check that you successfully installed git, open a terminal (on Windows, you can searchcmdin the search bar) and type this command:git --versionAfter pressing enter, the current version of git installed on your machine should be displayed.
-
Clone the repository (project files) using this command at the desired location on your machine:
git clone https://github.com/SerbanUntu/Mechabyte-Website.git -
Navigate to
/src/App.vue, the App component, which contains most of the code for this website. This project uses theVueframework instead of plain HTML/CSS/JS. The HTML part can be found inside the<template>tag. The text displayed on the website should be enclosed by<p>tags. You can change it as you wish. -
To test the changes locally, you will need to install the
npmpackage manager. On windows, you will also need to
installnvm-windows. All of the instructions can be found here. After checking the installations, run the following command from the terminal in the root of the project:npm installA progress bar should appear. After this, run this command and open the link that contains
localhost:npm run dev -
To commit your changes, type the following commands:
git add . git commit -m "your commit message" git push -u origin devThe first command stages the changes you made, the second command creates the commit and the third uploads the commit to GitHub. I recommend reading this post before writing a commit message.
