An open API service indexing awesome lists of open source software.

https://github.com/shengyuan-lu/mlh-sre-fellowship-portfolio

Portfolio Site Built By Rami Elsayed and Shengyuan Lu For MLH SRE Fellowship. (Flask Website)
https://github.com/shengyuan-lu/mlh-sre-fellowship-portfolio

mlh-fellowship portfolio-website

Last synced: 3 months ago
JSON representation

Portfolio Site Built By Rami Elsayed and Shengyuan Lu For MLH SRE Fellowship. (Flask Website)

Awesome Lists containing this project

README

        

# Production Engineering - Week 1 - Portfolio Site

## Screenshots
![Screenshot 2023-06-28 at 10 15 22](https://github.com/shengyuan-lu/mlh-sre-fellowship-portfolio/assets/70995597/f27cb223-e38a-47d1-9e38-aec622b5f4f5)
![Screenshot 2023-06-28 at 10 15 17](https://github.com/shengyuan-lu/mlh-sre-fellowship-portfolio/assets/70995597/8f9f8cec-adb5-4c1d-88f8-7f26c44c797f)
![Screenshot 2023-06-28 at 10 15 10](https://github.com/shengyuan-lu/mlh-sre-fellowship-portfolio/assets/70995597/3c15aefd-0db5-4337-8b30-6e816a965a09)

## Tasks

### GitHub Tasks
- [x] Create Issues for each task below
- [x] Progress on each task in a new branch
- [x] Open a Pull Request when a task is finished to get feedback

### Portfolio Tasks
- [x] Add a photo of yourself to the website
- [x] Add an "About youself" section to the website.
- [x] Add your previous work experiences
- [x] Add your hobbies (including images)
- [x] Add your current/previous education
- [x] Add a map of all the cool locations/countries you visited

### Flask Tasks
- [x] Get your Flask app running locally on your machine using the instructions below.
- [x] Add a template for adding multiple work experiences/education/hobbies using [Jinja](https://jinja.palletsprojects.com/en/3.0.x/api/#basics)
- [x] Create a new page to display hobbies.
- [x] Add a menu bar that dynamically displays other pages in the app

## Installation

Make sure you have python3 and pip installed

Create and activate virtual environment using virtualenv
```bash
$ python -m venv python3-virtualenv
$ source python3-virtualenv/bin/activate
```

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install all dependencies!

```bash
pip install -r requirements.txt
```

### Setup .env
Make sure to supply your own Google Map API Key.
Create an `example.env` file

> URL=localhost:5000

> google_maps_api_key=YOUR_API_KEY

## Usage

Start flask development server
```bash
$ export FLASK_ENV=development
$ flask run
```

You should get a response like this in the terminal:
```
❯ flask run
* Environment: development
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
```

You'll now be able to access the website at `localhost:5000` or `127.0.0.1:5000` in the browser!