All Projects → redhood-97 → T-Reqs

redhood-97 / T-Reqs

Licence: other
T-Reqs is a multi-language requirements file generator which also serves the purpose of preparing a template Dockerfile for working with Docker applications.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to T-Reqs

libdnf
Package management library.
Stars: ✭ 157 (+772.22%)
Mutual labels:  package-management
cuba-weather-python
Application programming interface of the Cuba Weather project implemented in Python
Stars: ✭ 17 (-5.56%)
Mutual labels:  python-package
requs
Controlled Natural Language for Requirements Specifications
Stars: ✭ 36 (+100%)
Mutual labels:  requirements-management
holo-build
Cross-distribution system package compiler
Stars: ✭ 43 (+138.89%)
Mutual labels:  package-management
pipfile-requirements
A CLI tool to covert Pipfile/Pipfile.lock to requirments.txt
Stars: ✭ 47 (+161.11%)
Mutual labels:  package-management
swarm-pack
Package management for Docker Swarm
Stars: ✭ 22 (+22.22%)
Mutual labels:  package-management
purescript.nix
📦 PureScript package management with Nix
Stars: ✭ 12 (-33.33%)
Mutual labels:  package-management
vis-plug
A minimal plugin-manager for vis
Stars: ✭ 17 (-5.56%)
Mutual labels:  package-management
strictdoc
Software for writing technical requirements specifications.
Stars: ✭ 80 (+344.44%)
Mutual labels:  requirements-management
teanaps
자연어 처리와 텍스트 분석을 위한 오픈소스 파이썬 라이브러리 입니다.
Stars: ✭ 91 (+405.56%)
Mutual labels:  python-package
renv
Creating virtual environments for R.
Stars: ✭ 18 (+0%)
Mutual labels:  package-management
gradejs
GradeJS analyzes production Webpack bundles without having access to the source code of a website. Instantly see vulnerabilities, outdated packages, and more just by entering a web application URL.
Stars: ✭ 362 (+1911.11%)
Mutual labels:  package-management
ansible-role-yarn
Ansible Role - YARN Package Manager for Ubuntu/RHEL/CentOS https://galaxy.ansible.com/ocha/yarn/
Stars: ✭ 27 (+50%)
Mutual labels:  package-management
rust
RustPräzi: Representing crates.io as a call-based dependency network
Stars: ✭ 77 (+327.78%)
Mutual labels:  package-management
Saway4ru
В этом релизе Вы найдете дополнительные материалы к книге "Путь аналитика. Практическое руководство ИТ-специалиста" (https://www.piter.com/product_by_id/40878036) Саму книгу можно заказать по адресу https://goo.gl/Av7Zmg
Stars: ✭ 22 (+22.22%)
Mutual labels:  requirements-management
geonamescache
geonamescache - a Python library for quick access to a subset of GeoNames data.
Stars: ✭ 76 (+322.22%)
Mutual labels:  python-package
cira
Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.
Stars: ✭ 21 (+16.67%)
Mutual labels:  python-package
docker-bakery
Dockerfile hierarchy management tool with automatic rebuilding of dependent images when parent changes
Stars: ✭ 30 (+66.67%)
Mutual labels:  dockerfile-generator
PackagesUI
This plugin provides you a comfortable interface for Sublime Text packages
Stars: ✭ 23 (+27.78%)
Mutual labels:  package-management
pacwatch
A pacman wrapper which helps you watch important package updates.
Stars: ✭ 24 (+33.33%)
Mutual labels:  package-management

T-Reqs

T-Reqs is a multi-language requirements file generator which also serves the purpose of preparing a template Dockerfile and also, a template docker-compose file. After a suggested preview, the developer should be ready to generate images for further work. Currently, the supported languages for the source file are Python and GO. It basically searches the entire app code file for the packages required, based upon the 'import' keyword. It writes the required dependencies on a requirements.txt file. Furthermore, the listed dependencies/packages are borrowed from the requirements file and are written on a template Dockerfile for further usage.




This tool can prove to be really time-saving when you are working on a Docker application. You just need to have the app source coude file and the basic project directory will be created containing the required files. It is suggested that a preview is made before finalizing anything. Since, this is a beta version, some entries inside the Dockerfile may be incomplete for much more complicated projects and may require a little bit of manual adjustments. Work is being done to make the whole process a lot more efficient.



The directory structure

As shown in the image, a new project folder will be created which will contain the mentioned files

The user will be asked to enter a main project directory name. This will contain the Dockerfile and the src folder. The src folder will keep a copy of the original source code file and the automatically generated requirements file.

Also, it's to be noted that it acts a miniature version control system on it's own. If any changes are made to the original source code, then executing the tool will refresh everything in the project directory, deleting all the older versions.



How to use ?

Basically, the only prerequisite required for execution is the Java Runtime Environment (JRE).

Step-1 : Move to the JAR file to a preferred location.

Step-2 : Initialize the DOSKEY batch file with path of the JAR file and save it with .bat extension.

Step-3 : Add the path of the batch file to the target of the CMD.

Step-4 : Start the CMD.

Step-5 : Navigate to the directory of the source code file.

Step-6 : Type ‘treqs’ and follow the instructions.



For using the JAR, just follow these simple instructions. After the application is launched, it will ask for some basic user entry. Fill those up. And VOILA !!! It's done. It's that easy. Your Dockerfile is almost ready to go but it is recommended to make some changes, if needed before using it.



Languages supported

  • Python
  • Go

Instructions in a nut-shell



What's new ?

Now, you can use projects involving multiple source code files of varying formats. The tool will successfully create a requirements.txt, a Dockerfile, a docker-compose.yaml file for each of the code files in separate app folders for smooth management. You just need to mention the files you want to work with properly, that's it !!!!



Updates coming soon

  • The package management of Go projects to be done with the help of the GoDep tool. The tool will prepare a project directory containing an initialiazed default Gopkg.toml file, docker-compose.yml, Dockerfile and so on.
  • Ruby projects.

NOTE: This is just a beta version, which means, yes, it has some bugs that I'm still trying to figure out. At the moment, the application works for Python and Go projects but it'll be extended to other languages as well in the near future. Feel free to share your thoughts regarding any possible improvements so as to increase the overall scope of this project. All suggestions are more than welcome. Again, I would like to mention that the files generated should be previewed properly for any required changes. Sometimes, the version of the dependencies may not be updated, so, the user may need to make the changes. Any pending issues will be fixed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].