Skip to content

Commit e0fdae5

Browse files
committed
my first commit
1 parent dcaf358 commit e0fdae5

File tree

13 files changed

+31
-709
lines changed

13 files changed

+31
-709
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DATABASE_URL=postgresql://gitpod@localhost:5432/example

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
__pycache__
12
.env
23
.learn

.gitpod.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ image:
66
file: .gitpod.Dockerfile
77

88
tasks:
9-
- command: gp open INSTRUCTIONS.md;
10-
9+
- command: >
10+
(cp -n .env.example .env || true) &&
11+
psql -U gitpod -c 'CREATE DATABASE example;'
12+
gp open README.md;
13+
npm install heroku -g;
14+
1115
ports:
1216
- port: 9000-9099
1317
onOpen: ignore

INSTRUCTIONS.md

Lines changed: 0 additions & 94 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
1-
<!-- hide -->
2-
# Web Scraping with BeautifulSoup and Python Tutorial
3-
<!-- endhide -->
4-
5-
- Create a SQL database using the MariaDB endine on top Heroku.com.
6-
- Undertand and get used to the most basic profesional python project structure with PIP and `.env` file.
7-
- Use SQLAlchemy the most popular library in the industry for connecting to SQL databases.
8-
- Use Pandas to display SQL Tables as dataframes.
9-
10-
Inside this repository, you will find a file called `./INSTRUCTIONS.md` with the steps needed to complete it.
11-
12-
## 🌱 How to start this project
13-
14-
The easiest way to start working on this project is by using Gitpod:
15-
16-
1. Make a fork of [this repository](https://github.com/4geeksacademy/web-scraping-project-tutorial) into your github account.
17-
2. Open the recently created fork on Gitpod by using the [Gitpod button extension](https://www.gitpod.io/docs/browser-extension/).
18-
3. Once Gitpod VSCode has finished opening you can go ahead and open the `problems.ipynb` file and start solving each exercise inside the notebook.
19-
20-
## 🚛 How to deliver this project
21-
22-
Once you are finished solving the exercises make sure to commit your changes, push to your repository fork and go to 4Geeks.com to upload the repository link.
23-
24-
# Solutions
25-
26-
We also incorporated the solution samples on `./src/solution.md` that we strongly suggest you only use if you are stuck for more than 30min or if you have already finished and want to compare it with your approach.
1+
# Template for Machine Learning projects

data/interim/.gitkeep

Whitespace-only changes.

data/processed/.gitkeep

Whitespace-only changes.

data/raw/.gitkeep

Whitespace-only changes.

learn.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
# your app code here
1+
from utils import db_connect
2+
engine = db_connect()
3+
4+
# your code here

0 commit comments

Comments
 (0)