Coder Social home page Coder Social logo

ieee-itba-sb-it / ieee-itba-website Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 122.12 MB

Website for ITBA's IEEE student branch. Integrates courses, competitions, news, quizzes and more. Updated weekly via scrum methodologies in coordination with nearly 40 people.

Home Page: https://ieeeitba.org.ar/

JavaScript 0.41% TypeScript 55.83% HTML 23.20% CSS 18.90% SCSS 1.60% Dockerfile 0.06%
angular python ieee ieeextreme

ieee-itba-website's Introduction

ITBA IEEE Website A9

This project contains the source code used for IEEE ITBA's website, developed using Angular, Firebase and Bootstrap.

Installation

Node.js

Firstly, a Node.js version compatible with the Angular version used must be installed. Its installation varies on the platform used, but instructions for all can be found on the Node.js download page.

A compatible npm version is installed along with node, so we´ll use it to install the rest of things needed.

Angular & Firebase

Both can be installed via any package manager, such as npm or yarn. To install them using npm, just run:

$> npm i -g @angular/cli
$> npm i -g firebase-tools

These commands will download the latest versions available, and set them globally on the pc (due to the -g flag).

Yarn

Due to the problems npm has when updating multiple dependencies, this project uses yarn as its package manager. Yarn can be installed using npm with:

$> npm i -g yarn

Then, yarn is used to install the rest of the project's dependencies, running yarn install on the project folder.

Development server

To run the local server, the user must first select to run on either production mode or development mode.

The main difference is the database used, as running on dev mode starts up a mock database using firebase emulators, whereas prod mode just connects to the remote database used on the website.

It's recommended to run on development mode when developing the website (hence the name), but in case of needing to visualize a page with remote data or some other task that needs it, the second option is provided.

Development mode

To run on development mode, both the page server and mock database must be started. Both commands can be executed by running:

$> yarn run dev

Which runs the dev command specified on the project's package.json.

Then the website can be accessed on http://localhost:4200, and the mock database on http://localhost:4000

Local database

On the development mode, a local database is set up, and its data is saved on a folder named mock_data, located at root level (outside src).

Production mode

To run on production mode, only the website must be run, which can be served and set up on production mode using:

$> ng serve -c production

Then the website can be accessed on http://localhost:4200.

Build & Deploy

To build the project simply run:

$> ng build

Then, a dist folder will be created containing the built page, which can be deployed using:

$> firebase deploy

Color variables

As IEEE requires a certain color palette to be used, the available colors are predefined using bootstrap variables.

These variables are named as --bs-ieee-palette-color-percentage, where

  • palette can be either bright or dark
  • color can be one of:
    • blue
    • orange
    • yellow
    • green
    • darker-green
    • red
    • purple
    • cyan
    • darker-cyan (only on bright palette)
    • gray (only on dark palette)
  • percentage can be:
    • 20
    • 40
    • 60
    • 80
    • 100 (in this case, it's not specified on the color name, e.g. --bs-ieee-bright-blue refers to the blue in the bright palette with 100 percent)

White (#FFF) and Black (#000) colors are also accepted, but they don't have a variable that contains them.

ieee-itba-website's People

Contributors

matifrancois avatar eugepineiro avatar fegrant avatar mricarte-i avatar lucas-vidmar avatar lboccardi avatar arielnowik avatar federico-shih avatar newtonis avatar nrooney99 avatar facull avatar guillermodejo avatar juan-burda avatar axelpreitit avatar saulex16 avatar isampedro avatar mbaiges avatar emitchellitba avatar

Stargazers

 avatar  avatar Alejandro Gomez avatar

Watchers

 avatar IEEE ITBA Student Branch avatar

Forkers

newtonis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.