Skip to content

Commit

Permalink
Merge pull request #194 from sumukhchitloor/master
Browse files Browse the repository at this point in the history
Edited .gitigonre, readme
  • Loading branch information
adeyosemanputra authored Mar 29, 2023
2 parents 7b5559c + 79056ea commit 4196a93
Show file tree
Hide file tree
Showing 29 changed files with 22 additions and 604 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ env
pygoat/db.sqlite3
venv
*.sqlite3
*db.sqlite3
*/app.log
pygoat/app.log
*db.sqlite3*
app.log
bin
28 changes: 12 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,23 @@ First, Clone the repository using GitHub website or git in Terminal
#### Method 1

1. Install all app and python requirements using installer file - `bash installer.sh`
2. Change directory to the the Django Project directory `cd pygoat`<br>
3. Apply the migrations `python3 manage.py migrate`.<br>
4. Finally, run the development server `python3 manage.py runserver`.<br>
5. The project will be available at <http://127.0.0.1:8000>
2. Apply the migrations `python3 manage.py migrate`.<br>
3. Finally, run the development server `python3 manage.py runserver`.<br>
4. The project will be available at <http://127.0.0.1:8000>

#### Method 2

1. Install python3 requirements `pip install -r requirements.txt`.<br>
2. Change directory to the the Django Project directory `cd pygoat`<br>
3. Apply the migrations `python3 manage.py migrate`.<br>
4. Finally, run the development server `python3 manage.py runserver`.<br>
5. The project will be available at <http://127.0.0.1:8000>
2. Apply the migrations `python3 manage.py migrate`.<br>
3. Finally, run the development server `python3 manage.py runserver`.<br>
4. The project will be available at <http://127.0.0.1:8000>

#### Method 3

1. Install all app and python requirements using `setup.py` file - `pip3 install .`
2. Change directory to the the Django Project directory `cd pygoat`<br>
3. Apply the migrations `python3 manage.py migrate`.<br>
4. Finally, run the development server `python3 manage.py runserver`.<br>
5. The project will be available at <http://127.0.0.1:8000>
2. Apply the migrations `python3 manage.py migrate`.<br>
3. Finally, run the development server `python3 manage.py runserver`.<br>
4. The project will be available at <http://127.0.0.1:8000>

### Docker Container
1. Install [Docker](https://www.docker.com)
Expand All @@ -70,10 +67,9 @@ First, Clone the repository using GitHub website or git in Terminal

### Build Docker Image and Run
1. Clone the repository &ensp; `git clone https://github.com/adeyosemanputra/pygoat.git`
2. Change the directory where Dockerfile exists &ensp; `cd pygoat`
3. Build the docker image from Dockerfile using &ensp; `docker build -f Dockerfile -t pygoat .`
4. Run the docker image &ensp;`docker run --rm -p 8000:8000 pygoat:latest`
5. Browse to <http://127.0.0.1:8000> or <http://0.0.0.0:8000>
2. Build the docker image from Dockerfile using &ensp; `docker build -f Dockerfile -t pygoat .`
3. Run the docker image &ensp;`docker run --rm -p 8000:8000 pygoat:latest`
4. Browse to <http://127.0.0.1:8000> or <http://0.0.0.0:8000>

### Installation video

Expand Down
7 changes: 7 additions & 0 deletions app.log
Original file line number Diff line number Diff line change
Expand Up @@ -815,3 +815,10 @@ INFO:django.utils.autoreload:/home/sankalpa/Desktop/gsoc/pygoat/introduction/vie
INFO:django.utils.autoreload:/home/sankalpa/Desktop/gsoc/pygoat/introduction/views.py changed, reloading.
INFO:django.utils.autoreload:/home/sankalpa/Desktop/gsoc/pygoat/introduction/views.py changed, reloading.
INFO:django.utils.autoreload:/home/sankalpa/Desktop/gsoc/pygoat/introduction/views.py changed, reloading.
WARNING:django.request:Not Found: /mitre/21f
WARNING:django.request:Not Found: /favicon.ico
INFO:django.utils.autoreload:/home/toxin/Project/gsoc/pygoat/pygoat/settings.py changed, reloading.
WARNING:django.request:Not Found: /mitre/21f
INFO:django.utils.autoreload:/home/toxin/Project/gsoc/pygoat/pygoat/settings.py changed, reloading.
WARNING:django.request:Not Found: /mitre/21f
WARNING:django.request:Not Found: /x
83 changes: 0 additions & 83 deletions bin/activate

This file was deleted.

55 changes: 0 additions & 55 deletions bin/activate.csh

This file was deleted.

100 changes: 0 additions & 100 deletions bin/activate.fish

This file was deleted.

Loading

0 comments on commit 4196a93

Please sign in to comment.