|
|
6 years ago | |
|---|---|---|
| .github/workflows | fix ci | 6 years ago |
| .vscode | fixes for getting started... | 7 years ago |
| packages | fixed dev setup | 6 years ago |
| scripts | added model props | 6 years ago |
| .DS_Store | client lib tests | 6 years ago |
| .eslintrc.json | eslint tidy up | 6 years ago |
| .gitignore | wip: move components to node_modules folder for easier importing | 6 years ago |
| .gitmodules | removed core submodule | 7 years ago |
| .prettierignore | eslint tidy up | 6 years ago |
| .prettierrc | include svelte files in prettier | 6 years ago |
| AUTHORS.md | Update AUTHORS.md | 6 years ago |
| CONTRIBUTING.md | making OS friendly :) | 7 years ago |
| lerna.json | v0.0.32 | 6 years ago |
| package.json | server initialisation & run fixed | 6 years ago |
| readme.md | update readme; change dev builder path from :3000 to :4001/_builder | 6 years ago |
| yarn.lock | Component Panel - root level components display | 6 years ago |
readme.md
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
Getting Started for Contributors
1. Prerequisites
yarn - npm install -g yarn
jest - npm install -g jest
2. Clone this repository
git clone https://github.com/Budibase/budibase.git
then cd into your local copy...
3. Install and Build
yarn to install project dependencies
yarn bootstrap will install all budibase modules
yarn build will build all budibase packages
yarn initialise will initialise your budibase (i.e. create local database)
4. Running
A Budibase apps folder will have been created in packages/server/myapps. This is a blank apps folder, so you will need to create yourself an app:
cd packages/server
yarn run budi new your-app-name
now build and publish the latest budibase libs, to your new app
cd ../..
# now back in the root of the repository
yarn run publishdev
then
run the budibase server and builder in dev mode (i.e. with hot reloading):
- Open a new console
yarn dev(from root)- Access the builder on http://localhost:4001/_builder/
This will enable watch mode for both the client AND the server.
Running Commands from /server Directory
Notice that when inside packages/server, you can use any Budibase CLI command via yarn:
e.g. yarn budi new mikes_app == budi new mikes_app
This will use the CLI directly from packages/cli, rather than your globally installed budi
Documentation
A work in progress, lives here: https://docs.budibase.com