Create a project
Select a project template
To create a new project, you need first to create an empty folder and run the starlake bootstrap CLI command from there:
- Linux/MacOS
- Windows
- Docker
$ mkdir $HOME/userguide
$ cd $HOME/userguide
$ starlake bootstrap
c:\> mkdir c:\userguide
c:\> cd c:\userguide
c:\> starlake bootstrap
$ mkdir $HOME/userguide
$ cd $HOME/userguide
$ docker run -v `pwd`:/app/userguide -e SL_ROOT=/app/userguide -it starlake bootstrap
note
By default, the project will be created in the current working directory. To bootstrap the project in a different folder set SL_ROOT env variable to that folder:
- Linux/MacOS
- Windows
- Docker
$ SL_ROOT=/my/other/location starlake bootstrap
c:\> set SL_ROOT=c:\my\other\location
c:\> starlake bootstrap
You are always required to set the SL_ROOT env var when using Docker
$ mkdir $HOME/userguide
$ cd $HOME/userguide
$ docker run -v `pwd`:/app/userguide -e SL_ROOT=/app/userguide -it starlake bootstrap
starlake will then create a default project hierarchy that allow you to start to extract, load, transform your data and orchestrate you pipelines.
.
├── metadata
│ ├── application.sl.yml # project configuration
│ ├── env.sl.yml # variables used in the project with their default values
│ ├── env.BQ.sl.yml # variables overriden for a BigQuery connection
│ ├── env.DUCKDB.sl.yml # variables overriden for a DuckDB connection
│ ├── expectations
│ │ └── default.sl.yml # expectations macros
│ ├── extract
│ ├── load
│ ├── transform
│ ├── types
│ │ ├── default.sl.yml # types mapping