Skip to content
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

Feature request: tx login #331

Open
beck opened this issue Oct 20, 2021 · 2 comments
Open

Feature request: tx login #331

beck opened this issue Oct 20, 2021 · 2 comments

Comments

@beck
Copy link

beck commented Oct 20, 2021

because we already have the config set up but onboarding new engineers need a .transifexrc.

As is, our local dev instructions are:

  • run tx config
  • input API token
  • quit the wizard with ctrl+c

Looking at the source, I don't see any way to just call .getset_host_credentials

tx init --skipsetup looked promising but then it prompts you with:

It seems that this project is already initialized.
Do you want to delete it and reinit the project? [Y/n]:

@transifexGithub
Copy link

Hello Beck,

Thank you for reaching out to Transifex support.
Regarding your query, I assume you will like to set up a new project without deleting the current one, Is this correct?
If it is, Perhaps the following approach will work for you:

  1. Create a virtual environment (python3 -m venv /Users/Cesar/VirtualEnv)
  2. Create a test project in Transifex
  3. Place yourself in /Users/Cesar/VirtualEnv
  4. Execute "tx init or tx config"
  5. Follow the instructions

Let me know if this answers your question
Best Regards
Cesar

@beck
Copy link
Author

beck commented Nov 4, 2021

set up a new project without deleting the current one

Not quite.

I want to login, in other words only create the file ~/.transifexrc (without mutating anything else)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants