This repository contains a template Software Engineering (SE) reports.
It has been conceived to be used by students of the Software Engineering course for their project work.
By adopting this template, students can automatically generate a static Web-site, which will present their report in fancy way. Consider, for example, the site generated from this template.
To fill the template, students have to put their contents, in Markdown format,
into the sections
directory.
The generation of the Web-site is automatically performed by means of GitHub Actions.
YOUR REPOSITORY HAS JUST BEEN HACKED, GIVE ME 10000$
Locally, students may visualise a preview of the Web-site by means of Jekyll.
In the following, we provide a number of instruction for using the template, and for producing the final report.
Please read them carefully, and post any question or clarification request on the course's General forum.
-
Find colleagues to work with (1-4 people, exceptions should be negotiatied with the teacher)
-
Choose a project idea and post a project proposal on the course's Project forum
- please provide a catchy and concise name for the project
- please provide a brief abstract of the project
- please include the names, and email addresses of the team members
-
Wait for the teacher's approval
-
Create a GitHub organization for the project:
-
you should name the organization as follows:
unibo-dtm-se-ACADEMIC_YEAR-PROJECT_NAME
, whereACADEMIC_YEAR
is the academic year in which the project is carried out (e.g.2324
,2425
)PROJECT_NAME
is the aforementioned catchy name of the project
-
add all the team members to the organization, with the role of owner
-
add the teacher as well with the role of owner (username:
gciatto
)
-
-
By means of this repository template, create a new repository in your organization, named
report
-
Create a new repository in your organization, named
artifact
- this repository will contain the code of your project work, if any
- you may use our Python project template if you want
- in case your software consists of multiple components, you may consider having multiple repositories, one for each component
-
Post the link to your GitHub organization in the course's Project forum, in correspondence of your project proposal
-
Work on your project, and on your report
-
When you are done with your project, and with your report, create one more post on the Project forum, to notify the teacher, and ask for an appointment for the final presentation
-
In the
_config.yml
file, you must customise the title and the description of your report -
Enable GitHub pages for your repository
- go to the Settings tab of your repository
- scroll down to the GitHub Pages section
- select the
main
branch as the source for GitHub Pages - select the
root
directory as the source for GitHub Pages - click on the Save button
-
In the
sections/
directory, you must_ customise the contents of your report- files are already there, you just need to write your contents in Markdown format
- the template files are already filled with suggestions on what to write
Assumption: you have already enabled GitHub Pages for your repository (see above)
-
The report is automatically generated by GitHub Actions
- you don't need to do anything, just commit & push your changes to the repository
-
Of course, you may experience some delay before the site is updated
- you may check the status of the generation by looking at the Actions tab of your repository
-
Of course, the process may fail if the syntax of your Markdown files is incorrect
- or if you are not compliant to the directory structure or the file naming conventions
-
If the process succeeds, you may access the report at the following URL:
https://ORGANIZATION_NAME.github.io/REPOSITORY_NAME
- which, if you followed our instructions, should be:
https://unibo-dtm-se-ACADEMIC_YEAR-PROJECT_NAME.github.io/report
You need to install Ruby on your machine (instructions below).
-
Assuming that Ruby is correctly installed, you need to clone your report repository on your machine:
git clone https://github.com/ORGANIZATION_NAME/REPOSITORY_NAME
-
Then, you need to restore Jeckyll's dependencies. From within the root of your repository, run the following command:
bundler install
-
Finally, you may run the following command from the root of your repository:
bundler exec jekyll serve
The output of that command should tell you the local URL where the preview of your site is available. Most commonly, it will be http://127.0.0.1:4000.
-
Open your browser, and navigate to the URL provided by the previous command
- from now on, until you stop the
bundler exec jekyll serve
command, any change you make to the.md
files will be automatically reflected in the preview - you may stop the preview by pressing
Ctrl+C
in the terminal
- from now on, until you stop the
Follow instructions from here: https://jekyllrb.com/docs/installation/