Comments (6)
Why do we need to chdir to the application directory and create one more env there? Why is this a popular scenario?
from tt.
Why do we need to chdir to the application directory and create one more env there?
I chdir to application directory to develop my application. I create env per application since this is the way I usually work with local environment: Lua rocks, Python venv, git. If it is forbidden, let's forbid to work like this in documentation and, if possible, with tt init
call. As far as I remember env discussions, it was planned that env inside the application is fine.
Why is this a popular scenario?
Do we have any statistics or independent research on non-tt developers which scenarios are popular? I think we're not.
from tt.
tt init --help
says
Create tt environment config for application in current directory
and for me it sounds like it encourages to create per-application env, not forbids it.
from tt.
let's forbid to work like this in documentation
Cannot be forbidden due to cartridge-cli
compatibility.
Do we have any statistics or independent research on non-tt developers which scenarios are popular?
There are some popular scenarios
Please ask the author of the comment above.
from tt.
Please ask the author of the comment above.
Yeah, that's fair. Do we have a proper step-by-step guide on how to work with tt-compatible application (full cycle, not separate commands)? It seems that my understanding of the approach is not the same as you have.
from tt.
By popular scenarios, I have meant "re-pack application that has been packed some time ago" and "pack application if I work with credentials". If my issues do not directly tied to these but to some other things -- let's at least fixate it here.
from tt.
Related Issues (20)
- tt coredump inspection enhancements
- Update luarocks dependency to the latest version
- Allow to ignore paths on artifact pack
- Please respect TT_CLI_CFG environment variable as a path to tt.yaml HOT 1
- tt clean always fails with multiple rm attempts HOT 1
- Support the manual master switch using the failover coordinator HOT 3
- Look up failover coordinators status
- Describe a way how to migrate from cartridge-cli pack
- tt help mustn't require config
- tt crashes with "Operation is not permitted" HOT 3
- ``tt replicaset status``: no clear error when incorrect orchestrator is forced
- cartridge app is failing to start after `tt clean` HOT 1
- Improve data display in table/ttable mode HOT 3
- Tarantool 3 config instance fails to use 108 symbols control socket on tt start HOT 1
- `tt status`: show RO/RW status HOT 2
- `tt status`: give more status information
- Publish workflow and tests on self-hosted mac os runners do not work. HOT 2
- pack: duplicate environment directories and configs if instances.enabled=.
- `instances_enabled: "."` in `tt.yaml` leads to incorrect app naming in some cases HOT 2
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 tt.