Skip to content

How to get the app to run locally? #767

Open

Description

@Connum

Hi there,

I just stumbled upon this project. I understand that the app does no longer exist as a service and you open-sourced it. Now I'm trying to get it to run locally. After some issues getting it to run at all (had to use node 11 and add

  "resolutions": {
    "@babel/preset-env": "7.5.5"
  }

to package.json), webpack succesfully bundles up everything and makes it available at http://localhost:9000/webpack-dev-server/index.html

However, all I see after the loader is "Prototypo is no more", so exactly the same as https://app.prototypo.io/. I had expected to be able to run the app locally without any sign-in etc., but I was obviously wrong. How can we run the app locally?

Activity

  1. yannickmathey commented on Jul 14, 2020

    @yannickmathey
    Contributor

    Hello, you can actually revert the last commit to retrieve the signin/signup views. But since we used Graphcool for our backend, I'm not sure what will happen next. GraphCool shut down a few days ago and is now Prisma, but we haven't migrated the service because of the Prototypo company shutdown.

  2. Connum commented on Jul 14, 2020

    @Connum
    Author

    Thanks for getting back so quickly! Do you have any plans to adapt the code to make the app standalone, or is that something you'd leave for contributors to do if there's any interest? I tried to make it work yesterday, but it was a bit too entangled with API requests to the backend to make it work within the time that I had to play around, so this seems like a more extensive task.

  3. yannickmathey commented on Jul 15, 2020

    @yannickmathey
    Contributor

    Unfortunately no, because no one from the former team is working on this project anymore. It's a substantial task indeed to migrate from GraphCool to Prisma but any help is welcome if there is any interest. The first step might be to bypass the authentification when opening the app: the backend issue may be smaller than expected.

  4. TeisD commented on Sep 22, 2020

    @TeisD

    If you're not after the latest version, you can check out the feat/offline_prototypo branch (#349). Still works for me!

  5. He1nr1chK commented on Oct 25, 2020

    @He1nr1chK

    @TeisD I am trying to use the branch you suggested but I get Unhandled rejection ReferenceError: localClient is not defined when trying to create a font family. Did you have the same issue?

  6. TeisD commented on Oct 27, 2020

    @TeisD

    @He1nr1chK Try running the app normally with npm run start the first time. This will open the sign in page and create a _hoodie_config object in localStorage in the background. From there on I could run the app with npm run offline.

  7. He1nr1chK commented on Oct 27, 2020

    @He1nr1chK

    @TeisD thanks a lot! Works perfectly

  8. Jolg42 commented on Feb 16, 2021

    @Jolg42

    Hello, you can actually revert the last commit to retrieve the signin/signup views. But since we used Graphcool for our backend, I'm not sure what will happen next. GraphCool shut down a few days ago and is now Prisma, but we haven't migrated the service because of the Prototypo company shutdown.

    Sad about the Shutdown 😢
    Funny that I now work at Prisma, I didn't know you were using GraphCool 😃

  9. paraampampampam commented on Mar 19, 2021

    @paraampampampam

    Hello there, Is is possible to run on Windows OS ? Have installed pre requirements Git , node >= 4 with npm >= 3 or yarn but i cant start it with yarn. mby i have to download not master branch and need another for windows ?
    Thanks

  10. yannickmathey commented on Mar 19, 2021

    @yannickmathey
    Contributor
  11. samchop commented on Sep 24, 2021

    @samchop

    Aw man I realize it might be hopeless since some pieces are deprecated but here goes. I'm attempting to use the offline branch mentioned above. I followed the readme instructions as best as possible. I set the right version of Node and npm and its able to install but when I runnpm start it fails immediately at gulp serve. I tried to set up the hoodie (whose links no longer work), I did npm install hoodie bc I couldn't find any other installation info for it. But hoodie new prototypo-hoodie fails and says the command can't be found.

    If anyone has any suggestions please let me know 🙏

  12. Jolg42 commented on Sep 24, 2021

    @Jolg42

    From what I understand, Hoodie is just the name of the class here https://github.com/byte-foundry/prototypo/blob/master/app/scripts/services/hoodie.services.js so nothing to install.

    The problems in this file is that it's dependent on an AWS url with multiple REST API endpoints and GraphQL queries and mutation to a service (Graphcool) that is now shutdown. And the prototypo part for both looks not public so it looks like you'll need to reimplement some things or remove them.

    And it's used in many places for the Graphcool part, see https://github.com/byte-foundry/prototypo/search?q=apolloClient

  13. Typogram commented on Mar 17, 2022

    @Typogram

    If you're not after the latest version, you can check out the feat/offline_prototypo branch (#349). Still works for me!

    what version of node are you running?
    Do you do:

    npm install
    

    then

    npm run start
    

    then

    npm run offline
    

    ?

  14. TeisD commented on Apr 1, 2022

    @TeisD

    I'm using node 11. If you are having issues with the feat/offline_prototypo branch, here are some things to try

    • remove line 5 from app/scripts/main.js (react-joyride-compiled.css)
    • change the version of bluebird in package.json from ^3.1.1 to ~3.1.1 (there is a compatibility issue with 3.7+)
    • use Chrome (on my machine it doesn't work in Firefox)
  15. ahmedkhoswan commented on May 17, 2022

    @ahmedkhoswan

    Hello, Have anyone being successful get the software running? I have know programming knowledge, can someone provide an installable or executable file for the software? thanks

  16. rahul-dutt-sharma commented on Nov 30, 2022

    @rahul-dutt-sharma

    the tool now runs but unable to export the font

  17. 0xytocin commented on Nov 22, 2024

    @0xytocin

    can someone here make this live again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions