`create-makestack-app` cli tool which create
brendancol opened this issue · 2 comments
brendancol commented
I want to install makestack in my base python environment (pip install makestack
) and then be able to run:
makestack new <name_of_project>
The command would create a new project directory with the initial foundation for my application.
So basically to start a new application, the flow would be:
makestack new myapp
cd myapp
make build
make start
brendancol commented
It could just be:
#!/bin/bash
# Set the name of the new project
PROJECT_NAME=$1
# Set the URL of the GitHub repository to use as a template
TEMPLATE_REPO_URL=https://github.com/makepath/makestack.git
# Clone the template repository
git clone $TEMPLATE_REPO_URL $PROJECT_NAME
# Change into the new project directory
cd $PROJECT_NAME
# Remove the existing git history
rm -rf .git
giancastro commented
@brendancol , I have a PR about this https://github.com/makepath/makestack/tree/add-cli
makestack startproject --name my_project --directory=./