Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ondiekelijah authored Nov 10, 2021
1 parent 9b46cc5 commit a0b1370
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Flask-Docker-App
# User-Authentication-in-Flask

## Set up & Installation.

### 1 .Clone/Fork the git repo and create a virtual environment
**Windows**

```bash
git clone https://github.com/Dev-Elie/User-Authentication-in-Flask.git
cd User-Authentication-in-Flask
py -3 -m venv venv

```
**macOS/Linux**

```bash
git clone https://github.com/Dev-Elie/User-Authentication-in-Flask.git
cd User-Authentication-in-Flask
python3 -m venv venv

```
2 .Activate the environment

**Windows**

```venv\Scripts\activate```

**macOS/Linux**

```. venv/bin/activate```
or
```source venv/bin/activate```

### 3 .Install the requirements

Applies for windows/macOS/Linux

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

### 5. Run the application
`python app.py`

# OR

## Create a new application from scratch

Create a directory with a name "Flask-Docker-App"

Navigate to the newly created directory

`cd Flask-Docker-App`

Create a virtual environment

**Windows**
`py -3 -m venv venv`

**macOS/Linux**
`python3 -m venv venv`

2 .Activate the environment

**Windows**

```venv\Scripts\activate```

**macOS/Linux**

```. venv/bin/activate```
or
```source venv/bin/activate```

### 3 .Install Flask

`pip install Flask`

### 4. Create the required files
Create two files;app.py and Dockerfile
`touch app.py Dockerfile`


</br>
<div align="center"><h1>Follow me on Twitter</h1></div>
<p align="center"> <a href="https://twitter.com/dev_elie" target="blank"><img src="https://img.shields.io/twitter/follow/dev_elie?logo=twitter&style=for-the-badge" alt="dev_elie" /></a> </p>



0 comments on commit a0b1370

Please sign in to comment.