As a new Julia developer, I need to know the recommended way to create a new package with documentation and CI. Additionally, how do I set up and run an existing Julia project from a GitHub repository, ensuring all dependencies are installed and precompiled?
Navigate to the 'Creating Packages' section. Identify the recommended tool for generating new packages with documentation and CI. Note the basic command for minimal package generation. Navigate to the 'Working with Environment' section. Go to the 'Using someone else's project' subsection. Identify the command to set up and install dependencies for an existing project. Identify the command-line flag for specifying a project on Julia startup. Synthesize the information to answer both parts of the task.
State that `PkgTemplates` is the recommended package for creating new Julia packages with robust setup (documentation, CI). Mention `Pkg.generate()` as the minimal function for creating a package if `PkgTemplates` is not used. State that `Pkg.instantiate()` is the command to set up and install dependencies for an existing project. Mention the `--project` flag for specifying a project on Julia startup (e.g., `julia --project=.`).