my-cloud-devops-consulting 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.2
2
+ Name: my-cloud-devops-consulting
3
+ Version: 0.1.6
4
+ Summary: This is my consulting website for Cloud & DevOps services.
5
+ Home-page: https://github.com/Betrand1999/project-root
6
+ Author: Betrand Mutagha
7
+ Author-email: mmutagha@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.6
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: Flask>=2.0
15
+ Requires-Dist: pymongo
16
+ Requires-Dist: werkzeug
17
+ Requires-Dist: requests
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: classifier
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
27
+
28
+ sudo systemctl restart sshd
29
+ 3.235.142.37:8443 # rancher
30
+ 8wf8vg9lwfzddtccxwc6gqw8mzlv7j422t7dfdlt6nqcwn7rjndmk6
@@ -0,0 +1,5 @@
1
+ app.py,sha256=sOzd-_EfSoT9wZTg1j0Zpw8V3LBPYOjT6bPEEgWG-K8,3589
2
+ my_cloud_devops_consulting-0.1.6.dist-info/METADATA,sha256=k81okRW6koEQdNitEfs4Q2nNUOCyxm4VlDOqx9M1wMs,917
3
+ my_cloud_devops_consulting-0.1.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
+ my_cloud_devops_consulting-0.1.6.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
5
+ my_cloud_devops_consulting-0.1.6.dist-info/RECORD,,
@@ -1,147 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: my-cloud-devops-consulting
3
- Version: 0.1.4
4
- Summary: This is my consulting website for Cloud & DevOps services.
5
- Home-page: https://github.com/Betrand1999/project-root
6
- Author: Betrand Mutagha
7
- Author-email: mmutagha@gmail.com
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.10
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Operating System :: OS Independent
12
- Requires-Python: >=3.6
13
- Description-Content-Type: text/markdown
14
- Requires-Dist: Flask>=2.0
15
- Requires-Dist: pymongo
16
- Requires-Dist: werkzeug
17
- Requires-Dist: requests
18
- Dynamic: author
19
- Dynamic: author-email
20
- Dynamic: classifier
21
- Dynamic: description
22
- Dynamic: description-content-type
23
- Dynamic: home-page
24
- Dynamic: requires-dist
25
- Dynamic: requires-python
26
- Dynamic: summary
27
-
28
- # Cloud & DevOps Consulting
29
-
30
- This project is a website for Cloud & DevOps consulting services. It is built with **Flask** for the backend, **MongoDB** for the database, and **Docker** for containerization.
31
-
32
- ## Features
33
-
34
- - Cloud consulting services
35
- - DevOps solutions
36
- - Security & Compliance consulting
37
-
38
- ## Prerequisites
39
-
40
- Before getting started, make sure you have the following installed:
41
-
42
- - [Python 3.10+](https://www.python.org/downloads/)
43
- - [Docker](https://www.docker.com/products/docker-desktop)
44
- - [Git](https://git-scm.com/)
45
- - [MongoDB](https://www.mongodb.com/try/download/community) (if you're not using MongoDB Atlas)
46
- - [pip](https://pip.pypa.io/en/stable/)
47
- - [twine](https://twine.readthedocs.io/en/stable/) (for uploading to PyPI)
48
-
49
- ## Installation
50
-
51
- ### 1. Clone the Repository
52
-
53
- Clone this repository to your local machine using Git:
54
- ```bash
55
- git clone https://github.com/Betrand1999/project-root.git
56
- cd project-root
57
- ,,,
58
- ####
59
- Setup Python Environment
60
- python3 -m venv venv
61
- source venv/bin/activate # For Windows use `venv\Scripts\activate`
62
- #####
63
-
64
- ####
65
- Install Dependencies
66
- pip install -r requirements.txt
67
- ###
68
-
69
-
70
- ###
71
- Set Up Python Package Build Tools
72
- The setup.py file is where you define the details of your package, including its dependencies, description, version, and more.
73
- ###
74
-
75
- ###
76
- MANIFEST.in
77
- he MANIFEST.in file ensures that the necessary files are included when you build your package.
78
- ###
79
-
80
- ###
81
- Build the Package
82
- python setup.py sdist bdist_wheel
83
- ###
84
-
85
- ###
86
- Upload to PyPI (Optional)
87
- If you want to distribute your package on PyPI, you'll need a PyPI account. After registering and logging in to PyPI, use twine to upload the distribution files.
88
- Install Twine: pip install twine
89
- Upload the Package:
90
- twine upload dist/*
91
- ###
92
-
93
- ##################################################################
94
- pip install wheel
95
- #################################################################
96
- To see packages OutPUT
97
- ls dist/
98
- project-root-0.1.0.tar.gz
99
- project_root-0.1.0-py3-none-any.whl
100
- ###################################################################
101
-
102
- pip install dist/project_root-0.1.0-py3-none-any.whl
103
- ####################################################################
104
-
105
- pip install twine
106
- what is twine: Twine is a utility for publishing Python packages on the Python Package Index (PyPI)
107
- #####################################################################
108
- twine upload dist/my_cloud_devops_consulting-0.1.1-py3-none-any.whl
109
-
110
- #############################################################################
111
- How route are configure in apache2
112
- sudo vi /etc/apache2/sites-available/000-default.conf
113
-
114
-
115
-
116
- <VirtualHost *:80>
117
- ServerAdmin webmaster@localhost
118
-
119
- # Default application
120
- ProxyPreserveHost On
121
- ProxyPass / http://localhost:8080/
122
- ProxyPassReverse / http://localhost:8080/
123
-
124
- # Application running on port 9090
125
- ProxyPass /app2 http://localhost:9090/
126
- ProxyPassReverse /app2 http://localhost:9090/
127
-
128
- # Logging
129
- ErrorLog ${APACHE_LOG_DIR}/error.log
130
- CustomLog ${APACHE_LOG_DIR}/access.log combined
131
- </VirtualHost>
132
-
133
-
134
- # Enable both configurations and restart Apache:
135
-
136
- bash
137
- Copy code
138
- sudo a2ensite app1.conf
139
- sudo a2ensite app2.conf
140
- sudo systemctl restart apache2
141
-
142
-
143
- # sudo systemctl restart apache2
144
-
145
- ####################################################
146
- https://www.youtube.com/watch?v=3j33lNzMZlM&t=308s
147
- ####################################################
@@ -1,5 +0,0 @@
1
- app.py,sha256=sOzd-_EfSoT9wZTg1j0Zpw8V3LBPYOjT6bPEEgWG-K8,3589
2
- my_cloud_devops_consulting-0.1.4.dist-info/METADATA,sha256=6iWZnak2Znh59bcLCIsQGJ-wNOo74mseu3OyV-6QYpg,4199
3
- my_cloud_devops_consulting-0.1.4.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
4
- my_cloud_devops_consulting-0.1.4.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
5
- my_cloud_devops_consulting-0.1.4.dist-info/RECORD,,