Jaysalgado / SER375ProjectsSite

A website to display all student projects from SER375.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SER375 Open Source Development Project Website

banner

Table of Contents

Setting up for development

Fork the repo

  1. On the top right side of the GitHub repo page, click the fork option
  2. Doing so will take you to a new page; click Create fork

Getting the files to your computer

  1. Go to your newly set up repo on GitHub
  2. Click the green drop-down button in the top right corner that says Code
  3. Copy the link
  4. Open your terminal and cd into a path where you can easily find your files (ex. desktop)
  5. Once in your preferred directory, use the command git clone (your copied link)
  6. You can now open your forked repository on your IDE
  7. Run this command in the terminal git remote add upstream https://github.com/ellidelli/SER375ProjectsSite.git
  8. Run this command in the terminal npm install
  9. Run this command in the terminal npm run serve

Adding your own project page

Choose a template

Choose between the 3 different templates.

One Column Template Two Column Template Slideshow Template

Column Instructions

  1. If you chose the slideshow template, click here to go to the slideshow template instructions
  2. Navigate to /src/projects/. Put your project demo video in the /project_videos folder and your image(s) in the /project_images folder
  3. In the /projects folder, create a new file. Name it your project name, no spaces, followed by .vue <YourProjectName>.vue
  4. Inside this same folder, you will find the sample project templates for each layout. Navigate to the one you want, copy and paste its code into your newly made file
  5. In this section of code:
    • Enter your description
    • Enter your story
    • Enter your struggles and triumphs
    • Add any helpful links
    • You are able to add any html tags in each section. p for normal text. a for a link. h2 for headers. Whatever you want.
    <template v-slot:description>
        <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque adipisci nesciunt distinctio consectetur
           quisquam consequatur, corrupti reiciendis ex aut quibusdam minima quidem earum quod architecto deserunt
           a, commodi debitis! Ducimus.</p>
    </template>
    <template v-slot:story>
        <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque adipisci nesciunt distinctio consectetur
           quisquam consequatur, corrupti reiciendis ex aut quibusdam minima quidem earum quod architecto deserunt
           a, commodi debitis! Ducimus.</p>
    </template>
    <template v-slot:strugglesAndTriumphs>
        <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque adipisci nesciunt distinctio consectetur
           quisquam consequatur, corrupti reiciendis ex aut quibusdam minima quidem earum quod architecto deserunt
           a, commodi debitis! Ducimus.</p>
    </template>
    <template v-slot:links>
        <a href="https://www.google.com">google</a>
    </template>
  6. In this section of the code, change the import paths to your image(s) and your video. (uncomment the video import and add more imports if you have more than one photo)
    import twoColumnTemplate from '../components/templates/twoColumnTemplate.vue'
    import sampleImage from '../projects/project_images/ProjectSampleImage.jpeg';
    //import sampleVideo from '../projects/project_videos/<VIDEO TITLE>'
  7. In this section of code:
    • Replace the name: with your project name (the same as your vue file)
    • Replace all information under data() to match your project
    • When it comes to multiple pictures, just add them to the array [just, like, this]
    • Under the info: section, replace the title with your project name with spaces
    • Add your name to the author
    • Change the tags to have as little or as many as you need. Write down languages you've used, such as software, games, etc. This is to make it easier to find similar projects.
    export default {
       name: 'TwoColumnSampleProject',
       components: {
         twoColumnTemplate
       },
       data() {
         return {
           projectTitle: "Two Column Sample Project",
           author: "John Smith",
           pictures: [sampleImage],
           video: "sampleVideo" //get rid of the quotes when putting in your video variable
         }
       },
       info: {
         title: 'Two Column Sample Project',
         author: 'John Smith',
         tags: ["Sample", "Templates", "Open Source", "Help"]
       }
     }                                        
  8. Check and make sure your project page loads on the site. Check it through the search, and through the tags. If you want to add one of your screenshots into the homescreen background, click here.

Slideshow instructions

Note: The slideshow height cannot be adjusted so take that into consideration when cropping your photos.

  1. Navigate to /src/projects/. Put your project demo video in the /project_videos folder and your image(s) in the /project_images folder
  2. Create a new file in the /projects folder. Name it your project name, no spaces, followed by .vue <YourProjectName>.vue
  3. Inside this same folder, you will find SlideshowSampleProject.vue. Copy and paste its code into your newly made file.
  4. In this section of code:
    • Enter your description
    • Enter your story
    • Enter your struggles and triumphs
    • Add any helpful links
    • You are able to add any html tags in each section. p for normal text. a for a link. h2 for headers. Whatever you want.
    <template v-slot:description>
        <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque adipisci nesciunt distinctio consectetur
           quisquam consequatur, corrupti reiciendis ex aut quibusdam minima quidem earum quod architecto deserunt
           a, commodi debitis! Ducimus.</p>
    </template>
    <template v-slot:story>
        <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque adipisci nesciunt distinctio consectetur
           quisquam consequatur, corrupti reiciendis ex aut quibusdam minima quidem earum quod architecto deserunt
           a, commodi debitis! Ducimus.</p>
    </template>
    <template v-slot:strugglesAndTriumphs>
        <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque adipisci nesciunt distinctio consectetur
           quisquam consequatur, corrupti reiciendis ex aut quibusdam minima quidem earum quod architecto deserunt
           a, commodi debitis! Ducimus.</p>
    </template>
    <template v-slot:links>
        <a href="https://www.google.com">google</a>
    </template>
  5. In this section of code:
    • Update the image imports to your images
    • Update the video import to your video
//import images
import one from '../projects/project_images/1.png';
import two from '../projects/project_images/2.png';
import three from '../projects/project_images/3.png';

//import video
import video from '../projects/project_videos/<YOUR VIDEO>'
  1. In this section of code:
    • Update the name: to your project name, no spaces, and same as your vue file name.
    name: 'SlideshowSampleProject',
    components: {
        slideshowTemplate,
        VueperSlides,
        VueperSlide
    },
  1. In this section of code:
    • Change all the data tags to match your project information.
    • When you get to slides, add an image in the same pattern as seen below. Do it as many times as you need.
 data() {
        return {
            projectTitle: "Slideshow Sample Project",
            author: "John Smith",
            video: "sampleVideo", //get rid of the quotes when putting in your video variable
            slides: [
                {
                    image: one
                },
                {
                    image: two
                },
                {
                    image: three
                }
            ]

        }
    },
  1. In this section of code:
    • Update the title of the project once again, with spaces.
    • Change the author
    • Change the tags to have as little or as many you need. Write down languages you've used, software, games, etc. This is to make it easier to find similar projects.
    info: {
        title: 'Slideshow Sample Project',
        author: 'John Smith',
        tags: ["Sample", "Templates", "Open Source", "Help"]
    }
  1. Check and make sure your project page loads on the site. Check it through the search, and through the tags.

Please, before continuing, make sure the website still works, and your project page looks the way you want

Adding your project to the official repo

  1. Run git pull upstream master
  2. Go to the original repo’s GitHub page
  3. Create a pull request like normal
  4. When you get to the Compare changes step, you must hit compare across forks and select your forked repo and branch name
  5. Create your pull request
  6. Wait until your project is merged with the site!

Setting up the site locally for further development

  1. Clone the repo by typing in the terminal: git clone https://github.com/ellidelli/SER375ProjectsSite
  2. Open the folder in your ide, and run these two commands npm install npm run serve

About

A website to display all student projects from SER375.


Languages

Language:Vue 95.4%Language:JavaScript 3.8%Language:HTML 0.8%