Skip to content

Conversation

@avara1986
Copy link
Member

PyMS has a command line option to create a project template like Microservices Scaffold.
This command use cookiecutter to download and install this template

[Warning] You must run first pip install cookiecutter==1.7.0

pyms startproject

this output a lot of options step by step:

full_name [Nick Fury]: 
email [nick_fury@avengers.com]: 
project_repo_url [https://github.com/python-microservices/microservices-scaffold]: 
project_name [Python Microservices Boilerplate]: example project
project_slug [example_project]: 
project_short_description [Python Boilerplate contains all the boilerplate you need to create a Python package.]: 
create_model_class [y]: 
application_root [/example_project]: 
version [0.1.0]: 
pypi_server []: 
create_author_file [y]: 
Select open_source_license:
1 - MIT license
2 - BSD license
3 - ISC license
4 - Apache Software License 2.0
5 - GNU General Public License v3
6 - Not open source
Choose from 1, 2, 3, 4, 5, 6 [1]: 

When you finish to introduce the options, a project will be created in project_slug folder

@avara1986 avara1986 added the feature New feature in progres label Feb 22, 2020
Co-Authored-By: Àlex Pérez <alexperez@paradigmadigital.com>
@avara1986 avara1986 merged commit bcf386f into master Feb 25, 2020
@avara1986 avara1986 deleted the feature/create_project_from_scaffold branch February 25, 2020 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature in progres

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants