Skip to content

Commit

Permalink
Add chown comand
Browse files Browse the repository at this point in the history
  • Loading branch information
juanse77 committed Jul 31, 2024
1 parent 79ca649 commit d44c0a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ Script designed to generate a report from the nmap execution results. Specifical

## How to use:
### Instalation:
Firstly, clone the repository in the /opt folder, then you have to change to /opt/active-inventory-generator to continue the instalation. Before that, it is recommended to create a virtual environment for installing the script dependencies. A quick way to create a virtual environment can be to use the 'virtualenv' command. Example of use:
Firstly, clone the repository in the /opt folder and change the owner of the downloaded folder. Then, you have to change to /opt/active-inventory-generator to continue the instalation. Before that, it is recommended to create a virtual environment for installing the script dependencies. A quick way to create a virtual environment can be to use the 'virtualenv' command. Example of use:

```bash
cd /opt
sudo git clone https://github.com/juanse77/active-inventory-generator
sudo chown [user]:[group] -R active-inventory-generator
```

```bash
python -m virtualenv .env
Expand Down
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,11 @@ <h1>Active Inventory Generator for Nmap</h1>

<h2>How to use:</h2>
<h3>Installation:</h3>
<p>Firstly, clone the repository in the /opt folder, then you have to change to /opt/active-inventory-generator to continue the installation. Before that, it is recommended to create a virtual environment for installing the script dependencies. A quick way to create a virtual environment can be to use the 'virtualenv' command. Example of use:</p>
<p>Firstly, clone the repository in the /opt folder and change the owner of the downloaded folder. Then, you have to change to /opt/active-inventory-generator to continue the installation. Before that, it is recommended to create a virtual environment for installing the script dependencies. A quick way to create a virtual environment can be to use the 'virtualenv' command. Example of use:</p>
<pre><code>cd /opt
sudo git clone https://github.com/juanse77/active-inventory-generator
sudo chown [user]:[group] -R active-inventory-generator
</code></pre>
<pre><code>python -m virtualenv .env</code></pre>
<p>This will create a virtual environment in the '.env' subfolder. Next, the environment must be activated by executing the command:</p>
<pre><code>source ./.env/bin/activate # in Linux</code></pre>
Expand Down

0 comments on commit d44c0a4

Please sign in to comment.