Skip to content

Commit 52b99a0

Browse files
authored
Merge pull request #24 from python-microservices/feature/update-with-pyms-stable
Feature/update with pyms stable
2 parents fc51d73 + 1b43616 commit 52b99a0

File tree

6 files changed

+30
-4
lines changed

6 files changed

+30
-4
lines changed

Diff for: README.md

+10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ Barebones Python Microservices
88
[![Python 3](https://pyup.io/repos/github/python-microservices/microservices-scaffold/python-3-shield.svg)](https://pyup.io/repos/github/python-microservices/microservices-scaffold/)
99

1010

11+
# How to run the scaffold
12+
13+
```bash
14+
python manage.py runserver
15+
16+
```
17+
18+
Open in your browser http://localhost:5000/template/ui/
19+
20+
Read more info in the documentation page: https://microservices-scaffold.readthedocs.io/en/latest/
1121

1222
# Docker
1323

Diff for: docs/codeexample.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Code Examples
22
=============
33

4+
See simple examples in https://github.com/python-microservices/pyms/tree/master/examples

Diff for: docs/quickstart.rst

+15
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
Quickstart
22
==========
33

4+
Scaffold
5+
--------
6+
7+
Clone and start this scaffold
8+
49
.. code-block:: bash
510
git clone https://github.com/python-microservices/microservices-scaffold.git
611
cd microservices-scaffold
712
python manage.py runserver
13+
14+
15+
Open in your browser http://localhost:8080/template/ui/
16+
17+
Template
18+
--------
19+
20+
You can create your own project from template:
21+
22+
https://github.com/python-microservices/microservices-template

Diff for: docs/structure.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ You have a project with this structure:
88
Dockerfile
99
LICENSE
1010
manage.py
11+
config.yml
1112
README.md
1213
requirements.txt
1314
requirements-tests.txt
@@ -18,7 +19,6 @@ You have a project with this structure:
1819
tox.ini
1920
project
2021
├ __init__.py
21-
├ config.py
2222
├ models
2323
│ ├ __init__.py
2424
│ └ models.py
@@ -48,6 +48,7 @@ You can set the host and the port with:
4848
4949
python manage.py runserver -h 0.0.0.0 -p 8080
5050
51+
5152
Common Libraries
5253
----------------
5354

Diff for: project/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = "Alberto Vara"
22
__email__ = "[email protected]"
3-
__version__ = "0.3.1"
3+
__version__ = "1.0.0"

Diff for: requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Flask-SQLAlchemy==2.3.2
22
SQLAlchemy==1.2.16
33
Flask-Script==2.0.6
4-
# py-ms==0.1.1
5-
git+https://github.com/python-microservices/pyms.git@master#egg=py-ms
4+
py-ms==1.0.0

0 commit comments

Comments
 (0)