https://github.com/b72u68/cohost-aws-challenge
https://github.com/b72u68/cohost-aws-challenge
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/b72u68/cohost-aws-challenge
- Owner: b72u68
- Created: 2021-06-02T04:48:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-28T08:56:40.000Z (almost 4 years ago)
- Last Synced: 2025-01-20T00:41:49.990Z (5 months ago)
- Language: HTML
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoHost AI AWS Challenge
## Objective
Write an image uploader website and run it on Amazon Web Services using EC2 service and S3 storage.
## Tasks
- Create an AWS account
- Use S3 and EC2 services for hosting server and storing images.
- Include simple frontend and backend. Call service request through REST API.## Local setup
### Create a virtual env (optional)
Install `virtualenv` using `pip` or `pip3`:
```
pip install virtualenv
```Create a virtual environment (in this case, it is named `venv`):
```
virtualenv venv
```Change current developement environment to `virtualenv`:
```
source ./venv/bin/activate
```Deactivate the virtual environment:
```
deactivate
```### Install required packages
```
pip install -r requirements.txt
```## Start website
```
python3 main.py
```## Access
The website is at `http://localhost:5000/`.