GithubHelp home page GithubHelp logo

Comments (3)

mkows avatar mkows commented on July 21, 2024 2

Hey @Dressi , not sure if are just looking for a dockerized version, or would just running locally do for you. In case the latter is fine, here are steps that worked for me (assuming you have docker and sbt):

Step 0.
Checkout (git clone) the following repos:
https://github.com/apicollective/apibuilder (with api and UI)
https://github.com/apicollective/apibuilder-generator (with code generators)

Step 1

# Run dockerized DB
docker run -d -p 5432:5432 flowcommerce/apibuilder-postgresql:latest

Step 2:

# within apibuilder repo directory – run api locally
sbt 'api / run 9001'

## and in a separate terminal tab/pane/window – run UI locally
sbt 'app / run'

Step 3:

# within apibuilder-generator repo directory – run generators
sbt 'generator / run 9002'

Step 4:
Open http://localhost:9000/login/dev in your brower (this will log you in as dev).

Navigate to http://localhost:9000/generators where you have to add service url http://localhost:9002 so that your local apibuilder points at apibuilder generators.

That's it.

Please feel free to share details in case you get stuck. Hope this helps.

from apibuilder.

benwaffle avatar benwaffle commented on July 21, 2024

There's no tutorial, but you can use the instance at https://app.apibuilder.io

from apibuilder.

Dressi avatar Dressi commented on July 21, 2024

Thank you for your answer.
It's also useful for me.
My goal was to run everything from docker only,
I could do it with small changes: Dressi#1 . I know it's a hack, but It's my first try only and I don't have experience in java and scala yet.

from apibuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.