Skip to content

Commit 4d486ff

Browse files
hyounes4560tdruez
andauthored
Add a general scancodeio ui section (#234)
* Add a general scancodeio ui section * Adding the text content * Adding images * Adding minor updates to the scancodeio output section Signed-off-by: Hanan Younes <hyounes4560@conestogac.on.ca> * Minor refinements to the documentation #234 Signed-off-by: Thomas Druez <tdruez@nexb.com> Co-authored-by: Thomas Druez <tdruez@nexb.com>
1 parent a249402 commit 4d486ff

14 files changed

+127
-24
lines changed

docs/images/UI-1.png

26.6 KB
Loading

docs/images/UI-2.png

150 KB
Loading

docs/images/UI-3.png

24 KB
Loading

docs/images/UI-4-new.png

50.5 KB
Loading

docs/index.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ you’ll find information on:
1616

1717
introduction
1818
installation
19-
docker-image
19+
run-docker
20+
user-interface
2021

2122
.. toctree::
2223
:maxdepth: 2
2324
:caption: Tutorial
2425

25-
scanpipe-tutorial-1
26-
scanpipe-tutorial-2
26+
tutorial-1
27+
tutorial-2
2728

2829
.. toctree::
2930
:maxdepth: 2

docs/installation.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Supported Platforms
1616
#. **Debian-based** Linux distributions
1717
#. **MacOS** 10.14 and up
1818

19-
In addition, ScanCode.io can also be run through **Docker**; this is the preferred
20-
approach **on Windows**. Refer to the :ref:`docker_image` chapter for details.
19+
In addition, ScanCode.io can also be run with **Docker**; this is the preferred
20+
approach **on Windows**. Refer to the :ref:`run_docker` chapter for details.
2121

2222
.. warning::
23-
ScanCode.io can **Only** be run on Windows through `Docker <https://www.docker.com/>`_ or
23+
ScanCode.io can **only** be run on Windows through `Docker <https://www.docker.com/>`_ or
2424
`Virtual Machines <https://www.virtualbox.org/>`_.
2525
However, to avoid any installation issues, it is **Not recommended** to run ScanCode.io on
2626
Windows machines.
@@ -67,7 +67,6 @@ latest/getting-started/install.html#prerequisites>`_ for more details.
6767

6868
make dev
6969

70-
7170
.. note::
7271
You can specify the Python version during the ``make dev`` step using the following command::
7372

@@ -105,7 +104,6 @@ You can validate the ScanCode.io installation by running the tests suite::
105104

106105
make test
107106

108-
109107
Web Application
110108
---------------
111109

@@ -116,9 +114,11 @@ local webserver and access the app with::
116114

117115
Then open your web browser and visit: http://127.0.0.1:8001/ to access the web application.
118116

117+
:ref:`user_interface`
118+
119119
.. note::
120120
Congratulations, you are now ready to use ScanCode.io, and you can move onto the **Tutorials**
121-
section starting with the :ref:`scanpipe_tutorial_1` tutorial.
121+
section starting with the :ref:`tutorial_1` tutorial.
122122

123123
Upgrading
124124
---------
@@ -129,3 +129,4 @@ If you already have the ScanCode.io repo cloned, you can upgrade to the latest v
129129
git pull
130130
make dev
131131
make migrate
132+

docs/docker-image.rst renamed to docs/run-docker.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
.. _docker_image:
1+
.. _run_docker:
22

3-
Docker image
4-
============
3+
Run with Docker
4+
===============
5+
6+
Running ScanCode.io with Docker containers is the preferred setup and ensure that all
7+
the features are available and working properly.
58

69
Get Docker
710
----------
@@ -23,7 +26,6 @@ create an environment file, and build the Docker image::
2326
make envfile
2427
docker-compose build
2528

26-
2729
.. note::
2830
The image will need to be re-build when the ScanCode.io app source code if
2931
modified or updated.
@@ -35,7 +37,6 @@ Run your image as a container::
3537

3638
docker-compose up
3739

38-
3940
At this point, the ScanCode.io app should be running at port 80 on your Docker host.
4041
Go to http://localhost/ on a web browser to access the web UI.
4142

@@ -54,7 +55,6 @@ interface, for example::
5455

5556
docker-compose run web ./manage.py create-project project_name
5657

57-
5858
.. note::
5959
Refer to :ref:`scanpipe_command_line` for the full list of commands.
6060

docs/scancodeio-settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _scancodeio_settings:
22

3-
ScanCode.io Settings
3+
Application Settings
44
====================
55

66
The ``.env`` file is created at the root of the ScanCode.io codebase during its

docs/scanpipe-api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _scanpipe_api:
22

3-
ScanPipe REST API
4-
=================
3+
REST API
4+
========
55

66
To get started locally with the API:
77

docs/scanpipe-command-line.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _scanpipe_command_line:
22

3-
ScanPipe Commands Help
4-
======================
3+
Management Commands
4+
===================
55

66
The main entry point is the :guilabel:`scanpipe` command which is available
77
directly when you are in the activated virtualenv or at this path:

0 commit comments

Comments
 (0)