Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gkbijarniya committed Jan 18, 2016
1 parent a587591 commit 82c13eb
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,47 @@
# web_app
Web App in Python using Flask for User management.

This App is tested on Ubuntu 14.04.1


**1. Web User Creation**

First of all create a normal user e.g. web
```
sudo useradd web -m
sudo passwd web
sudo vim /etc/sudoers
web ALL=(ALL) NOPASSWD: ALL
```

**2. Flask Installation:**

```
su - web
sudo apt-get update
sudo apt-get install python-pip git
sudo pip install virtualenv
mkdir flask
cd flask
virtualenv venv
. venv/bin/activate
sudo pip install Flask
sudo pip install https://github.com/mitsuhiko/flask/tarball/master
```

**3. Starting the App**
```
git clone https://github.com/gkbijarniya/web_app.git
cd web_app
flask -a app run --host=0.0.0.0
and open browser and access
http://IP_Address:5000
```

**4. Create/Modify/Delete Linux users along with Suodoers entry**

0 comments on commit 82c13eb

Please sign in to comment.