🦉
Anacleto
GitHub
  • Anacleto
  • Getting started
    • Setup Anacleto
      • Setup local environmen
    • First tutorial
  • Anacleto Frontend
    • UI Builder
      • Components
        • DataTable
        • Form
          • Controls
            • Autocomplete
            • Button
            • CodeEditor
            • Dropdown
            • Image
            • InputText
            • Label
        • GridContainer
        • Splitter
        • Stack
        • TabView
        • Tree
    • Translation
    • Frontend script
      • Dialog and Toast
      • Window
  • Anacleto Backend
    • Backend script
      • googleBigQuery
      • googleDatastore
      • logger - console
      • mysql
      • Utils
  • Google cloud platform
    • Google
  • Anacleto developer
    • Work with us
      • Guidelines
    • Setup local enviroment
Powered by GitBook
On this page
  1. Getting started
  2. Setup Anacleto

Setup local environmen

PreviousSetup AnacletoNextFirst tutorial

Last updated 2 years ago

If you do not want to use the npm version of Anacleto you can connect the development environment to a local version of the builder.

Follow this guide only if you intend to modify the Anacleto Builder sources, otherwise we strongly recommend that you use the stable releases on npm

Follow this guide if you are a developer and want to edit anacleto-backendor anacleto-frontend

First thing download Anacleto project from .

We suggest that you organize your files this way, but feel free to organize them however you like.

workspace
│
└───anacleto (Git repo)
│   └───anacleto-backend
│   └───anacleto-frontend
└───anacleto-apps
│   └───sample-app-1-frontend
│   └───sample-app-1-backend
│   └───sample-app-1-data
│   └───sample-app-1-logs
│   └───sample-app-2-frontend
│   └───sample-app-2-backend
│   └───sample-app-2-data
│   └───sample-app-2-logs

Open a terminal in anacleto-fronend folder and run npm install

Open a terminal in anacleto-backend folder and run npm install

cd <sample-app-1-backend>
npm link <anacleto-backend-path>/anacleto-backend

Es: cd workspace/anacleto-apps/sample-app-1-backend && sudo npm link ../../anacleto/anacleto-backend

cd <sample-app-1-frontend>
npm link <anacleto-frontend-path>/anacleto-frontend

Es: cd workspace/anacleto-apps/sample-app-1-frontend && sudo npm link ../../anacleto/anacleto-frontend/

Connect anacleto-frontend library to you application react (to avoide react hook errors), run from :

cd <anacleto-frontend-path>
npm link <sample-app-1-frontend>/node_modules/react

Es: cd workspace/anacleto/anacleto-frontend && sudo npm link ../../anacleto-apps/sample-app-1-frontend/node_modules/react

Automatically recompile library and work locally on it (your src/ module are automatically recompile it into dist/ whenever you make changes.):

cd anacleto-frontend && npm start

Create a sample-app-1-backend application () and link to your local version of anacleto-backend instead of npm version

Create a sample-app-1-frontend application () and link to your local version of anacleto-frontend:

Git Repository
docs
docs