> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mage.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Project setup

> How to set up a folder containing your Mage project code and other files.

## Parent folder

Create a parent folder that will contain your Mage project code:

```bash theme={"system"}
mkdir data_monorepo
```

Change directory into the parent folder:

```bash theme={"system"}
cd data_monorepo
```

## Create a Dockerfile

Create an empty Dockerfile:

```bash theme={"system"}
echo "" > Dockerfile
```

Paste the contents from this [Dockerfile](https://github.com/mage-ai/docker/blob/master/Dockerfile)
into the Dockerfile you just created.

## Create a .gitignore file

Create an empty .gitignore file:

```bash theme={"system"}
echo "" > .gitignore
```

Paste the following contents into the .gitignore file you just created:

```
.DS_Store
.file_versions
.gitkeep
.log
.logs/
.mage_temp_profiles
.preferences.yaml
.variables/
__pycache__/
docker-compose.override.yml
logs/
mage-ai.db
mage_data/
secrets/
```

## Create Mage project

Follow these [instructions](/getting-started/setup) to create a Mage project in your
current directory. If you named your project `demo_project`, your current folder structure
will look like this:

```
data_monorepo/
|-- demo_project/
|-- .gitignore
|-- Dockerfile
```
