The MPShips App Boilerplate helps you quickly create a new MPShips application using cookiecutter. It provides a ready-to-use project structure with sensible defaults so you can focus on building your app, not setup.
- Install Cookiecutter
pip install cookiecutter
- Create a new MPShips App
cookiecutter gh:materialsproject/mpships-app-boilerplate
- Customize your project by answering the following questions:
project_name: The full project name. Default:My MPships Appauthor_name: Author name forpyproject.tomland package metadata.author_email: Author email for pyproject.toml and package metadata.description: A short description of your project, used inpyproject.tomlandREADME.md.first_version: Initial project version. Default:0.1.0license: Choose one of the following licenses:MIT License,BSD License,ISC License,Apache Software License 2.0,GNU General Public License v3,Not open source. Default:1(MIT License)install_dependencies: Automatically create a virtual environment and install default dependencies. Default:y
- Navigate to your project directory:
- Activate the Virtual Environment
If you selected
install_dependencies = y, activate the virtual environment:
$ source .venv/bin/activate
Otherwise, we strongly recommend creating a virtual environment to manage your project dependencies.