Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 46 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,48 @@
# OWASP BLT

Report issues and get points, companies are held accountable.

The first time you may need to run:
- `If postgresql is not installed`, `brew install postgresql` (mac), `sudo apt-get install postgresql` (Ubuntu)

- `cd projectname`
- `virtualenv venv`
- `venv\Scripts\activate` (windows)
- `source venv/bin/activate` (mac)
- `pip install -r requirements.txt`
- `python manage.py migrate`
- `python manage.py createsuperuser` (then go to /admin) and add filler information for social auth accounts
- `python manage.py runserver`

Note:
- `you may have to install libpq-dev`
**Report issues and get points, companies are held accountable.**

Demo: [Bugheist](http://bugheist.com/)

### Dev Setup
**Step 1:**

If PostgreSQL is not installed, run

`brew install postgresql` (Mac)

`sudo apt-get install postgresql` (Ubuntu)

**Step 2:**

`cd BLT`

**Step 3:**

If virtualenv is not installed, run `sudo apt-get install virtualenv` followed by

`virtualenv venv` (Ubuntu)

`venv\Scripts\activate` (Windows)

`source venv/bin/activate` (Mac)

**Step 4:**

`pip install -r requirements.txt`

**Step 5:**

`python manage.py migrate`

**Step 6:**

`python manage.py createsuperuser`

then go to http://127.0.0.1:8000/admin/socialaccount/socialapp/) and add filler information for social auth accounts.

**Step 7:**

Start the server using `python manage.py runserver` and visit http://localhost:8000

**Note:** In case you encounter an error, run `sudo apt-get install libpq-dev`
6 changes: 6 additions & 0 deletions website/static/css/sb-admin-2.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ body {
right: 0;
left: auto;
}
.panel-footer ul li {
list-style: none;
}
.panel-footer ul li a {
text-decoration: none;
}
.sidebar .sidebar-nav.navbar-collapse {
padding-left: 0;
padding-right: 0;
Expand Down
2 changes: 1 addition & 1 deletion website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{% endblock %}
</div>
</div>
<div class="panel-footer" >
<div class="panel-footer">
<div class="col-lg-3 col-md-6 col-md-offset-3">
<ul>
<li><a href="/terms">Terms of Service</a></li>
Expand Down