fumeapp / fume-cli Goto Github PK
View Code? Open in Web Editor NEWfume command line interface
Home Page: https://fume.app
fume command line interface
Home Page: https://fume.app
general clean up functionality for when this happens during a deployment
fume-cli/src/lib/deploytasks.ts
Lines 217 to 221 in 292544b
don't just look for ^
build a micro-service that does the following
fume-project-env:latest
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin {ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com
docker tag {env-name}:latest {account_id}.dkr.ecr.us-east-1.amazonaws.com
and then `docker push {account-id}.dkr.ecr.us-east-1.amazonawes.com/{env-name}:latestthis microservice needs the following dependencies
Because I'm extremely brain dead at times, I can find it easy to make an environment variable change in fume.app but then fail to sync with AWS. It would be helpful to me if upon change to env-vars, the sync variables button changes color or something, so as to remind me to click sync
❯ GOOS=linux GOARCH=arm64 go build -tags lambda.norpc -o bootstrap main.go
❯ zip myFunction.zip bootstrap
adding: bootstrap (deflated 46%)
❯ aws lambda create-function --function-name myFunction \
--runtime provided.al2 --handler bootstrap \
--architectures arm64 \
--role arn:aws:iam::313370:role/whataburger-lambda \
--zip-file fileb://myFunction.zip
❯
These build args will produce arm64 binaries, will run faster, and will leverage the updated and AWS preferred runtime for golang. The billing model changes slightly - the current runtime does not get billed for invocation time, whereas the new runtime will, but it AWS claims it is not really much of a difference since it is so much faster now.
Allow a user to specify a longer timeout for file uploads/etc
node_modules/.bin/nuxt generate
to generated the production assets in .nuxt/
.nuxt/
into something like deployment-{environment}.zipmaybe ignore node_modules/fume-cli/
I am unable to delete a project (in order to create it again in an attempt to fix the hanging sync dependencies issue I've also reported). The web app DELETE request to your API fails with a 504 status.
cli.open
doesnt work and fallback with another solutionfume login
aliases to fume auth:login
I think this would be a great feature to add to Fume. I've tested with a fresh create-nuxt-app project and after ~15 minutes of idle, the site takes 15-20s to respond which for most apps/ecommerce/blogs etc is slow enough to lose visitors.
I believe warming is relatively simple with the serverless framework and is a common practise. Is it something you'd consider adding to Fume as a toggle on a per-project basis?
this is in situations where a nuxt project is in a sub-directory
I have lambdas that are just complicated enough to want warrant multiple go source files in order to keep me sane. Unfortunately, deploytasks just wants one source file. This is all fine and good and I can deal with it, but the problem occurs when I need to debug something: since i cannot have multiple files, i end up importing my code from another module and using in main.go... in debugging, this may result in my having to update the module and then the lambda's go.mod... so that's 2 commits (one for module one for lambda) and 3 pushes (1 for module, 1 for lambda main, 1 for lambda production). It would help to be able to gather all the go sources in the directory and include them in the build line:
./src/lib/deploytasks.ts:273: await execa('go', ['build', '-o', 'main', 'main.go'], { env: { GOOS: 'linux', GOARCH: 'amd64' } })
I can do this, likely, but I do not know js/typescript so I cannot whip out a change real quick. I'm guessing one can just use glob or another something from fs
. Since it's probably something I should just learn and know for future, I will look to add this and submit a PR, but wanted to make issue first in case I should not.
100s of lines showing compression is not acceptable for CI/CD logs
I've tried to deploy using Bitbucket Pipelines but when I run the fume deploy stating
command it shows me an error
Anyone knows how can I avoid this?
by default not everyone has a static folder, if this is v3 we should look for public/
instead anyways
Try this out https://github.com/rvagg/node-du
Would be great if I got warning if my local CLI version was not up-to-date.
For example if I am on fume:cli:: v0.2.0
would be good to see when I run something like
fume deploy stage
I get console output somewhere that a version fume:cli:: v0.2.4
is available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.