A static website for CDM's Robotics Team.
-
Go to the main page of this repository (https://github.com/CDM-Robotics/website')
-
Fork this repository (top-right) to your Github account
-
On your fork of this repo, go to the green 'Clone or Download' button and copy the link
-
Go to Terminal in Mac or Command Prompt in Windows and change to your desired directory / folder
- A directory is a folder, like 'Documents' or 'Summer Pics 2008'
- For help, look up 'ls' and 'cd' commands
- Your current directory is to the left of your type cursor in the command line
-
Type in your command line 'git clone [what you copied in step 3]', this will copy that repository to the folder you selected in step 4
-
Make desired changes to HTML/CSS/JS files
-
Move forward one directory, to the folder created when you copied the repository (if you haven't closed the command line, just type 'cd [name of repository]')
-
Type 'git commit -am "[message about what you changed]"
-
Type 'git push origin master'
-
The CDM-Robotics/website repo is linked to Heroku, but Automatic Deploy is not currently enabled.
-
Log into the Heroku account, Go to the Deploy page, 'Manual Deploy' and click 'Deploy Branch''
-
Type 'git remote -v', you should see 'origin' and 'upstream'
-
This shows the names and urls of the online repositories your folder is linked to
-
Type "git remote add heroku 'https://git.heroku.com/serene-refuge-70621.git'"
-
This adds a remote repository called 'heroku'
-
Heroku.com is the platform that hosts the Triton Tech webpage
-
Type 'git push heroku master', then submit your information for your Heroku account
-
This pushes the changes to the Github repository connected to the website, and consequently changes the website
Go to www.tritontech6072.com to see your changes!