Skip to content

Commit

Permalink
Merge pull request #4 from vroncevic/dev
Browse files Browse the repository at this point in the history
[gen_pl_pro] Updated Dockerfile, docs
  • Loading branch information
vroncevic committed Jun 12, 2020
2 parents 68b4571 + 6e53772 commit eb3298b
Show file tree
Hide file tree
Showing 58 changed files with 3,534 additions and 932 deletions.
31 changes: 30 additions & 1 deletion Dockerfile
Expand Up @@ -15,4 +15,33 @@

FROM debian:10
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends perl perl-doc tree htop
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
tree \
htop \
wget \
unzip \
ca-certificates \
openssl \
perl \
perl-doc

RUN wget https://github.com/vroncevic/sh_util/archive/v1.0.0.zip
RUN unzip v1.0.0.zip
RUN find /sh_util-1.0.0/ -name "*.editorconfig" -type f -exec rm -Rf {} \;
RUN mkdir -p /root/scripts/sh_util/ver.1.0/
RUN cp -R /sh_util-1.0.0/sh_tool/bin/ /root/scripts/sh_util/ver.1.0/
RUN cp -R /sh_util-1.0.0/sh_tool/conf/ /root/scripts/sh_util/ver.1.0/
RUN cp -R /sh_util-1.0.0/sh_tool/log/ /root/scripts/sh_util/ver.1.0/
RUN rm -Rf v1.0.0.zip sh_util-1.0.0
RUN mkdir /sh_tool/
COPY sh_tool /sh_tool/
RUN find /sh_tool/ -name "*.editorconfig" -type f -exec rm -Rf {} \;
RUN mkdir -p /root/scripts/apmodule/ver.1.0/
RUN mkdir /root/bin/
RUN cp -R /sh_tool/bin/ /root/scripts/apmodule/ver.1.0/
RUN cp -R /sh_tool/conf/ /root/scripts/apmodule/ver.1.0/
RUN cp -R /sh_tool/log/ /root/scripts/apmodule/ver.1.0/
RUN rm -Rf /sh_tool/
RUN chmod -R 755 /root/scripts/apmodule/ver.1.0/
RUN ln -s /root/scripts/apmodule/ver.1.0/bin/apmodule.sh /root/bin/apmodule
RUN tree /root/scripts/apmodule/ver.1.0/
24 changes: 16 additions & 8 deletions README.md
@@ -1,8 +1,8 @@
# Generating Perl Project Structure.

gen_pl_pro is shell tool for Perl project.
***gen_pl_pro*** is shell tool for creating Perl project.

Developed in bash code: 100%.
Developed in bash code: ***100%***.

The README is used to introduce the tool and provide instructions on
how to install the tool, any machine dependencies it may have and any
Expand All @@ -11,6 +11,17 @@ other information that should be provided before the tool is installed.
[![GitHub issues open](https://img.shields.io/github/issues/vroncevic/gen_pl_pro.svg)](https://github.com/vroncevic/gen_pl_pro/issues)
[![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/gen_pl_pro.svg)](https://github.com/vroncevic/gen_pl_pro/graphs/contributors)

<!-- START doctoc -->
**Table of Contents**

- [Installation](https://github.com/vroncevic/gen_pl_pro#installation)
- [Usage](https://github.com/vroncevic/gen_pl_pro#usage)
- [Dependencies](https://github.com/vroncevic/gen_pl_pro#dependencies)
- [Shell tool structure](https://github.com/vroncevic/gen_pl_pro#shell-tool-structure)
- [Docs](https://github.com/vroncevic/gen_pl_pro#docs)
- [Copyright and Licence](https://github.com/vroncevic/gen_pl_pro#copyright-and-licence)
<!-- END doctoc -->

### INSTALLATION

Navigate to release [page](https://github.com/vroncevic/gen_pl_pro/releases) download and extract release archive.
Expand All @@ -25,9 +36,9 @@ cp -R ~/sh_tool/conf/ /root/scripts/gen_pl_pro/ver.1.0/
cp -R ~/sh_tool/log/ /root/scripts/gen_pl_pro/ver.1.0/
```

Or You can use docker to create image/container.
![alt tag](https://raw.githubusercontent.com/vroncevic/gen_pl_pro/dev/docs/setup_tree.png)

:sparkles:
Or You can use docker to create image/container.

### USAGE

Expand All @@ -50,7 +61,7 @@ This tool requires these other modules and libraries:

### SHELL TOOL STRUCTURE

gen_pl_pro is based on MOP.
***gen_pl_pro*** is based on MOP.

Shell tool structure:
```
Expand Down Expand Up @@ -80,7 +91,6 @@ More documentation and info at:

* https://gen_pl_pro.readthedocs.io/en/latest/

:sparkles:

### COPYRIGHT AND LICENCE

Expand All @@ -92,5 +102,3 @@ This tool is free software; you can redistribute it and/or modify
it under the same terms as Bash itself, either Bash version 4.2.47 or,
at your option, any later version of Bash 4 you may have available.

:sparkles:

Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 58348d799739a06749c7ae449261e499
config: 8f9640e6977d6152abbd5cad20ac6e79
tags: 645f666f9bcd5a90fca523b33c5a78b7
102 changes: 88 additions & 14 deletions docs/build/html/_sources/index.rst.txt
@@ -1,20 +1,94 @@
.. gen_pl_pro documentation master file, created by
sphinx-quickstart on Mon Mar 30 00:17:28 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to gen_pl_pro's documentation!
======================================
gen_pl_pro
-----------

.. toctree::
:maxdepth: 2
:caption: Contents:
:hidden:

self


gen_pl_pro is shell tool for creating Perl project.

Developed in bash code: 100%.

The README is used to introduce the tool and provide instructions on
how to install the tool, any machine dependencies it may have and any
other information that should be provided before the tool is installed.

|GitHub issues| |Documentation Status| |GitHub contributors|

.. |GitHub issues| image:: https://img.shields.io/github/issues/vroncevic/gen_pl_pro.svg
:target: https://github.com/vroncevic/gen_pl_pro/issues

.. |GitHub contributors| image:: https://img.shields.io/github/contributors/vroncevic/gen_pl_pro.svg
:target: https://github.com/vroncevic/gen_pl_pro/graphs/contributors

.. |Documentation Status| image:: https://readthedocs.org/projects/gen_pl_pro/badge/?version=latest
:target: https://gen_pl_pro.readthedocs.io/projects/gen_pl_pro/en/latest/?badge=latest

INSTALLATION
-------------
Navigate to release `page`_ download and extract release archive.

.. _page: https://github.com/vroncevic/gen_pl_pro/releases

To install this set of modules type the following:

.. code-block:: bash
tar xvzf gen_pl_pro-x.y.z.tar.gz
cd gen_pl_pro-x.y.z
cp -R ~/sh_tool/bin/ /root/scripts/gen_pl_pro/ver.1.0/
cp -R ~/sh_tool/conf/ /root/scripts/gen_pl_pro/ver.1.0/
cp -R ~/sh_tool/log/ /root/scripts/gen_pl_pro/ver.1.0/
DEPENDENCIES
-------------
This tool requires these other modules and libraries:

.. code-block:: bash
sh_util https://github.com/vroncevic/sh_util
SHELL TOOL STRUCTURE
---------------------
gen_pl_pro is based on MOP.

Shell tool structure:

.. code-block:: bash
.
├── bin/
│   └── gen_pl_pro.sh
├── conf/
│   ├── gen_pl_pro.cfg
│   ├── gen_pl_pro_util.cfg
│   ├── project_set.cfg
│   └── template/
│   ├── cfg_editorconfig.template
│   ├── log_editorconfig.template
│   ├── pl_editorconfig.template
│   ├── tool_config.template
│   ├── tool.template
│   └── tool_util_config.template
└── log/
└── gen_pl_pro.log
COPYRIGHT AND LICENCE
----------------------

|License: GPL v3| |License: Apache 2.0|

.. |License: GPL v3| image:: https://img.shields.io/badge/License-GPLv3-blue.svg
:target: https://www.gnu.org/licenses/gpl-3.0

.. |License: Apache 2.0| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
:target: https://opensource.org/licenses/Apache-2.0

Copyright (C) 2018 by https://vroncevic.github.io/gen_pl_pro

Indices and tables
==================
This tool is free software; you can redistribute it and/or modify it
under the same terms as Bash itself, either Bash version 4.2.47 or,
at your option, any later version of Bash 4 you may have available.

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

0 comments on commit eb3298b

Please sign in to comment.