This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
commit 72159c81a44e94f72101a60a733091938304e28a Author: Bruno Scorzafave <[email protected]> AuthorDate: Sat Feb 15 21:35:51 2025 -0300 docs: add detailed steps for preparing the database --- src/pages/documentation/getting-started.mdx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/documentation/getting-started.mdx b/src/pages/documentation/getting-started.mdx index 1dc798d..2bbb7f3 100644 --- a/src/pages/documentation/getting-started.mdx +++ b/src/pages/documentation/getting-started.mdx @@ -83,11 +83,20 @@ Commands: ## Preparing the Database -To build the basemap locally, navigate to the `basemap` directory at the root of the project and execute the following command: +To build the basemap locally, navigate to the `basemap` directory at the root of the project and execute the following command to create de database schema: + +```bash +baremaps workflow execute --file=create.js +``` +Import the data into the database with the following command: ```bash baremaps workflow execute --file=import.js ``` +Refresh the materialized views with the following command: +```bash +baremaps workflow execute --file=refresh.js +``` If you're using Docker, ensure that at least 20GB of storage is allocated to Docker. Depending on your machine and internet connection, this process may take up to 30 minutes.
