This is the repository for the Student Engineering Council's website. In this README, you will find information on the project structure and how to make any edits you need on the website.
You will need the following items in order to run the code on your local machine which is just fancy terminology for saying "your computer".
You will need to use a text editor in order to edit the code. Download one of your choice. My top 3 recommendations would probably be VS Code, Atom, and Sublime Text. VS Code and Atom are heavier applications whereas Sublime Text is a little more lightweight. Note that Sublime Text is a paid-for application, but has a free trial period which can be used forever. This isn't going to be a comprehensive overview on text editors though, so feel free to find your own and read reviews on them. Some other notable editors include: Notepad++, Brackets, and Vim (Linux and Mac only).
Sass is a CSS precompiler. Instead of using plain-old CSS to style your websites, Sass can be used to extend CSS to offer greater functionality like variables and other fancy stuff. To install, you can follow Sass's page to Install Sass. Their directions aren't very clear, so feel free to follow the following directions to install the standalone version of Sass. Note that these directions may vary depending on your operating system. The following directions are for Windows.
- Visit the Dart Sass Github Page and download the files for your operating system.
- Unzip the folder and store it somewhere it will not be deleted.
- Inside the main folder, there should be another folder called
dart-sass
. Add this folder to your PATH. See this for help. - Once the folder has been successfully added to your PATH, you can use Sass.
- Ensure you have a text editor and Sass on your computer. See Requirements for Installation for more information.
- Open the project in your text editor.
- Using your terminal, go into the directory of your project and type
sass --watch ./styles/:./styles
. This will watch thestyles
folder for any changes to the Sass files, and compile them into a CSS file that will also be located in thestyles
folder. - To see the website locally, you will need to run a local web server. Your text editor may have packages or extensions to automatically do this for you.
- Now, you should be able to edit HTML or SCSS files and view the changes
The project contains several files and folders.
sectexas.github.io/ ├── assets/ │ ├── images/ │ ├── logos/ ├── scripts/ └── styles/ └── bootstrap-scss/
sectexas.github.io is the main folder that contains the entire project. All of the HTML files are located in this directory. All of the folders are contained within this directory:
- assets. This folder contains 2 subfolders:
- scripts. This folder contains all of the Javascript files used for this project.
- styles. This folder contains all of the SCSS (Sass) and CSS files used for this project.
- The bootstrap-scss folder contains all of the source scss files from Bootstrap.