-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependencies #170
Comments
Hi @Heiss Apologies with the recent beta merge I've not updated the readme. The project depends on AWS Amplify and an AWS account as it creates supporting infrastructure (for saving maps and serving accounts). Install Amplify
Navigate to the frontend folder in Terminal/Bash and initialise amplify.
The infrastructure that will be created is defined here https://github.com/damonsk/onlinewardleymaps/tree/master/frontend/amplify/backend The costs will be minimal as it's based on serverless offerings and likely covered under the Free Tier if you have a new account. For additional info on getting started with amplify, https://docs.amplify.aws/javascript/start/getting-started/installation/ |
Thank you for your fast answer. Do i understand it correctly, that there is no way to run this app local only? I asked, because i want to integrate it into my workflow with asciidoc (maybe i need to implement a service for kroki, suggested here yuzutech/kroki#179), which has to be local only. |
I "think" it will be possible - Create the aws-exports.js file in frontend/ folder with the following content.
The AWS infra is used for some new features which are not yet live and behind a feature switch (
|
On a side note, you can check out the classic branch as this doesn't have the deps on Amplify https://github.com/damonsk/onlinewardleymaps/tree/classic Runs at https://classic.onlinewardleymaps.com. Just note, features will start to drift as it won't receive future updates. This may also be of interest. #75 |
hopefully you're up and running, any more problems feel free to re-open. |
I created the PR in kroki now. Feel free to take a look at it. It is mostly the approach from #75 with some tweaks for kroki. |
Hey,
i wanted to
yarn build
the assets, but got "module not found: Can't resolve ' ../../../aws-exports'. It comes fromonlinewardleymaps/frontend/src/lib/amplify/awsConfig.js
Line 2 in a275263
I used "yarn install" and "yarn build" as suggested in readme.
What is missing here?
Thank you. Have a great day.
The text was updated successfully, but these errors were encountered: