Skip to content

Commit 3dc3e81

Browse files
committed
Added README.
1 parent 1796229 commit 3dc3e81

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SQLALCHEMY_DATABASE_URI=mysql+pymysql://myuser:[email protected]:1234/mydatabase

.github/[email protected]

118 KB
Loading

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SQLAlchemy Tutorial
2+
3+
![Python](https://img.shields.io/badge/Python-v^3.8-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
4+
![SQLAlchemy](https://img.shields.io/badge/SQLAlchemy-v^1.3.0-blue.svg?longCache=true&logo=flask&style=flat-square&logoColor=white&colorB=5e81ac&colorA=4c566a)
5+
![PyMySQL](https://img.shields.io/badge/PyMySQL-v^1.0.0-red.svg?longCache=true&style=flat-square&logo=scala&logoColor=white&colorA=4c566a&colorB=bf616a)
6+
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c&logo=GitHub)
7+
[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/sqlalchemy-tutorial.svg?style=flat-square&colorA=4c566a&logo=GitHub&colorB=ebcb8b)](https://github.com/hackersandslackers/sqlalchemy-tutorial/issues)
8+
[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/sqlalchemy-tutorial.svg?style=flat-square&colorA=4c566a&logo=GitHub&colorB=ebcb8b)](https://github.com/hackersandslackers/sqlalchemy-tutorial/stargazers)
9+
[![GitHub Forks](https://img.shields.io/github/forks/hackersandslackers/sqlalchemy-tutorial.svg?style=flat-square&colorA=4c566a&logo=GitHub&colorB=ebcb8b)](https://github.com/hackersandslackers/sqlalchemy-tutorial/network)
10+
11+
![SQLAlchemy Tutorial](https://github.com/hackersandslackers/sqlalchemy-tutorial/blob/master/.github/[email protected]?raw=true)
12+
13+
**Tutorial**: https://hackersandslackers.com/python-database-management-sqlalchemy/
14+
15+
# Getting Started
16+
17+
Get set up locally in two steps:
18+
19+
### Environment Variables
20+
21+
Replace the values in **.env.example** with your values and rename this file to **.env**:
22+
23+
24+
* `SQLALCHEMY_DATABASE_URI`: Connection URI of a SQL database.
25+
26+
*Remember never to commit secrets saved in .env files to Github.*
27+
28+
### Installation
29+
30+
Get up and running with `make deploy`:
31+
32+
```shell
33+
$ git clone https://github.com/hackersandslackers/sqlalchemy-tutorial.git
34+
$ cd sqlalchemy-tutorial
35+
$ make deploy
36+
```
37+
38+
-----
39+
40+
**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.

0 commit comments

Comments
 (0)