Skip to content

Commit 275c264

Browse files
authored
Merge pull request #64 from tecladocode/master
2 parents 9b15201 + f1a6fad commit 275c264

File tree

175 files changed

+475
-599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+475
-599
lines changed

.pre-commit-config.yaml

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

CONTRIBUTING.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Contributing guide
2+
3+
Create a virtual environment and install the Python dev dependencies:
4+
5+
```
6+
python3.9 -m venv .venv
7+
source .venv/bin/activate
8+
pip install -r requirements-dev.txt
9+
```
10+
11+
This installs Black and flake8. Use Black to format any Python code you include in your contributions, and run the code through the flake8 linter to catch any errors.
12+
13+
Then, set up the Vuepress project:
14+
15+
```
16+
npm install
17+
```
18+
19+
That should install everything.
20+
21+
## Run
22+
23+
To run the project e-book locally, you can just do:
24+
25+
```
26+
npm run cur:dev
27+
```
28+
29+
## How to start contributing
30+
31+
Please don't just submit a PR with your contributions before talking about it with the Teclado team!
32+
33+
First, start off by creating an [issue](/issues) with what you'd like to contribute and why. The more information you can give at this stage, the better.
34+
35+
Then we can talk about the contribution idea and plan in the issue itself. Once we've decided to go ahead and how to go ahead, we can begin implementing the changes.
36+
37+
For your changes, please use the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard when writing commit messages. It really helps the team understand what each commit does when going through the changes.
38+
39+
After the changes are implemented in a fork, you can submit a PR to the repo. At that point we would review the PR and offer feedback and suggestions, if we have any. Once we're all happy with the changes offered in the PR, we can merge it into this main repository!
40+
41+
Thank you very much for your support and contributions! 💪

Pipfile

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

Pipfile.lock

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

README.md

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
11
# Web Developer Bootcamp with Flask and Python
22

3-
Thank you for checking out the course code!
3+
<p align="center">
4+
<img src="assets/course-image.png" alt="Web Developer Bootcamp with Flask and Python (Udemy banner image)"></a>
5+
</p>
46

5-
Access the course notes here: https://python-web.teclado.com
7+
<div align="center">
68

7-
## Contributing
9+
[![Udemy rating 4.6/5](https://img.shields.io/badge/udemy-4.6%2F5-brightgreen)](https://go.tecla.do/web-dev-course-sale) ![GitHub last commit](https://img.shields.io/github/last-commit/tecladocode/python-web-2020) ![Python 3.10](https://img.shields.io/badge/python-3.10-yellow) [![Discord](https://img.shields.io/discord/614395983807250433)](https://discord.gg/78Nvd3p) [![Twitter Follow](https://img.shields.io/twitter/follow/jslvtr?style=social) ](https://twitter.com/jslvtr)
10+
11+
</div>
12+
13+
---
14+
15+
<p align = "center">💡 A full course to teach you how to use Flask, Python, and MongoDB to make complete, dynamic websites.</p>
816

9-
Install Python requirements with Pipenv:
17+
<p align = "center">📖 Read the e-book <a href="https://python-web.teclado.com">here</a>.</p>
1018

11-
```
12-
pipenv install
13-
```
19+
## Getting started
1420

15-
Then use `pre-commit` to set up the Python formatter hooks (this will run Black on any Python files before you commit):
21+
Enrol in the course by going to [this link](https://go.tecla.do/web-dev-course-sale).
1622

17-
```
18-
pipenv shell
19-
pre-commit install
20-
```
23+
Then you can come back here to download the repository, although it is not necessary. Everything you need is available in the e-book (link above).
2124

22-
Then, set up the Vuepress project:
25+
If you are familiar with Git, you can use Git to download it. Otherwise, you can download it as a zip file:
2326

24-
```
25-
npm install
26-
```
27+
![Download repo as a zip file](assets/download-repo-zip.png)
2728

28-
That should install everything!
29+
Next, start taking the course at the beginning! You can use the downloaded code files and [the e-book](https://python-web.teclado.com) to support you while you go through the course.
2930

30-
## Run
31+
I also **strongly recommend** you code while you take the course. A good strategy is:
3132

32-
To run the project, you can just do:
33+
1. Watch the video intently, optionally while taking notes.
34+
2. Watch again, more quickly, while typing the code together with me.
35+
3. Once you're done with the video, play about with the code. Make changes, break things, then fix them, and try to thoroughly understand everything the code does.
36+
37+
If you do this for the entire course, I guarantee you will learn how to make dynamic web apps using Flask and Python well. You'll still be using Google and searching for stuff every day, but so does everyone else!
38+
39+
## Contributing
3340

34-
```
35-
npm run cur:dev
36-
```
41+
If you'd like to contribute to this course or e-book, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file to get started!

assets/course-image.png

423 KB
Loading

assets/download-repo-zip.png

264 KB
Loading

curriculum/.vuepress/components/BottomCallout.vue

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
<script>
22
export default {
3-
props: ['title', 'subtitle']
3+
props: ['title', 'subtitle'],
4+
mounted() {
5+
this.plausibleEvent = function(eventName, props) {
6+
if (props) {
7+
props['path'] = window.location.pathname;
8+
} else {
9+
props = {
10+
path: window.location.pathname
11+
}
12+
}
13+
var plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) };
14+
plausible(eventName, props);
15+
}
16+
}
417
}
518
</script>
619

@@ -76,7 +89,7 @@ export default {
7689
</li>
7790
</ul>
7891
<p class="bottom-callout__text">
79-
<a href="https://go.tecla.do/web-dev-course-sale" class="bottom-callout__link">
92+
<a v-on:click="plausibleEvent('Course CTA Clicked')" href="https://go.tecla.do/web-dev-course-sale" class="bottom-callout__link">
8093
Get the video course <svg class="bottom-callout__feature-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(1,0,0,1,0,0)"><path d="M10.5,9.121h6V6.011c0-.272.163-.343.362-.158L23,11.54a.751.751,0,0,1-.017,1.142l-6.116,5.336c-.2.185-.362.114-.362-.157v-2.74h-6" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7.5 9.121L5.25 9.121" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M3 9.121L0.75 9.121" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7.5 15.121L5.25 15.121" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M3 15.121L0.75 15.121" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g></svg>
8194
</a>
8295
</p>

0 commit comments

Comments
 (0)