2019-10-12 09:26:23 +02:00
|
|
|
# Getting Started with Budibase
|
|
|
|
|
|
|
|
(For contributors - scroll down)
|
|
|
|
|
2020-01-23 11:52:42 +01:00
|
|
|
### 1. Global install budibase
|
2019-10-12 09:26:23 +02:00
|
|
|
|
|
|
|
`npm install -g budibase`
|
|
|
|
|
2020-01-23 11:52:42 +01:00
|
|
|
### 2. Start using Budibase
|
2019-10-12 09:26:23 +02:00
|
|
|
|
|
|
|
Create a directory to store your Budibase apps
|
|
|
|
|
|
|
|
`mkdir my-budibase`
|
|
|
|
|
|
|
|
`cd my-budibase`
|
|
|
|
|
|
|
|
Initialise Budibase in current directory
|
|
|
|
|
|
|
|
`budi init`
|
|
|
|
|
|
|
|
Create a new Budibase app
|
|
|
|
|
|
|
|
`budi new my-app`
|
|
|
|
|
|
|
|
Run Budibase
|
|
|
|
|
|
|
|
`budi`
|
|
|
|
|
|
|
|
You can now access the Budibase builder on http://localhost:4001/_builder
|
|
|
|
|
|
|
|
Start building!
|
|
|
|
|
|
|
|
Once you have created your app, you need to create yourself an instance of your app (i.e. a database)
|
|
|
|
|
|
|
|
`budi instance my-app`
|
|
|
|
|
2020-01-23 11:54:33 +01:00
|
|
|
## Running the cli on dev
|
2019-10-12 09:26:23 +02:00
|
|
|
|
2020-01-23 11:54:33 +01:00
|
|
|
If you want to test this on dev, from the mono repo, run `npm link` from here first.
|
2019-10-12 09:26:23 +02:00
|
|
|
|
2020-01-23 11:54:33 +01:00
|
|
|
If you use VS Code, open it in this directory, and you will find launch configurations for each command - debugging, yay!
|