Comments (6)
This is what the ENV file is for. What is the advantage here?
from piku.
Can't use ENV file to keep secrets, as it's committed to git. Therefore, I'm using a separate .env.prd
file with both secrets and non-secret vars. Basically, the goal is to have piku set
read vars from a file, instead of only command line.
from piku.
Perhaps the solution is to document the technique mentioned in #302
piku config:set `cat .env.prod`
This seems about as easy to remember and type as the Heroku oneliner you posted.
from piku.
If that would work properly, yes. Issues:
- vars with spaces don't work (I'm using bash with Fedora 38). Tried with and without quotes:
cat .env.test
TEST1=t112
TEST2="t22 cd"
$ piku config:set `cat .env.test`
Piku remote operator.
Setting TEST2="t22 for 'app'
Error: malformed setting 'cd"'
- (minor) Comments don't work -- lines starting with
#
Seems it would be more reliable for piku to be able to read from a file, independent of what the current shell is set to.
from piku.
This issue is stale because it has been open for 90 days with no activity.
from piku.
This issue was closed because it has been inactive for 30 days since being marked as stale.
from piku.
Related Issues (20)
- Simpler nginx install HOT 5
- Remove certbot references HOT 4
- create ~/bin/piku symlink to ~/piku.py HOT 4
- New NGINX_HTTPS_ONLY logic breaks existing installs HOT 4
- config:set var doesn't work with spaces HOT 10
- Suddenly getting Error: app 'myapp' not deployed! HOT 10
- Investigate ways to better manage secrets HOT 3
- Is there a "build" stage HOT 4
- node deploy doesn't run npm install HOT 3
- Having trouble getting set up on a Raspberry Pi 4 HOT 2
- Django / Postgres example - need to move to it's own repo and update HOT 18
- What is fetcher? HOT 4
- Bun support HOT 5
- Is there a way to uninstall Piku? HOT 1
- Trouble with a rails app HOT 1
- Crontabs with ranges fail to parse in uwsgi HOT 6
- MkDocs documentation HOT 5
- go.mod support HOT 9
- Passthrough mode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piku.