1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00
budibase/packages/cli
Michael Shanks 8a80d8801a Page Layout & Screen restructure (#87)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 15:51:09 +00:00
..
.vscode cli working.. 2019-10-12 07:50:32 +01:00
bin CLI nearly there 2019-10-11 17:14:23 +01:00
src Page Layout & Screen restructure (#87) 2020-02-10 15:51:09 +00:00
.gitignore CLI nearly there 2019-10-11 17:14:23 +01:00
LICENSE CLI nearly there 2019-10-11 17:14:23 +01:00
package.json v0.0.16 2020-01-23 11:38:11 +00:00
readme.md fix cli docs 2020-01-23 10:54:33 +00:00
yarn.lock Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00

Getting Started with Budibase

(For contributors - scroll down)

1. Global install budibase

npm install -g budibase

2. Start using Budibase

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

Running the cli on dev

If you want to test this on dev, from the mono repo, run npm link from here first.

If you use VS Code, open it in this directory, and you will find launch configurations for each command - debugging, yay!