Updated: March 27, 2023
234 Views
Was it helpful?
author
by Vitalii Yovko
Tech Expert & Writer
648 resolved issues

Can a web application run live in production without a repository in git?

Hello, thank you for using Howly. I’ll be happy to help you out! May I ask your name?

Customer Replay

*****

Nice to meet you, *****!
So, whether you decide to share your code with a team via a server or use it to manage your code locally, your repository looks the same. So, that's why you can use Git without GitHub: Git works as a standalone tool or with a server.

image

Customer Replay

Thanks
How can I write code on a local setup for an application without a repository to clone and open on local IDE?

The --bare flag creates a repository that doesn't have a working directory, making it impossible to edit files and commit changes in that repository.

Customer Replay

Can I explain my current situation more detailed ?

banner 3

Yes, of course.
I will do my best to help you.

Customer Replay

So, I got access to an application server which runs in production mode. I can view the project files, and browse through them but only in terminal. Only way to see code is with vim command. The owner says that they don't have a repository of the application to give me access. How am I supposed to work and implement code without having the code on my local setup ?

In this case, please follow the instructions below.
Open a new or existing file with vim filename.
Type i to switch into insert mode so that you can start editing the file.
Enter or modify the text with your file.
Once you're done, press the escape key Esc to get out of insert mode and back to command mode.
Type :wq to save and exit your file.
Please, keep me posted.

Customer Replay

So this way I am writting code directly into the live application server? Isn't this bad?

No. This is a normal procedure according to the requirements.

Customer Replay

So i think the requirements are bad.
Isn't the right way of programming saying that you should have a version control system>
Ok, thanks for your answers
I had a good experience

banner 6

I understand. These are the requirements of their service.
Is there anything else I can do for you today?

Customer Replay

No, thank youy

Thank you for chatting with us today!
We are available 24/7, you can refer your questions anytime.

Get answers until you're satisfied
14 verified experts are online now
Expert's Assistant
Ask your question here
Share on:
Copy to clipbord
Was it helpful?
Howly expert is ready to help you with your Apps problem

No comments yet...

What about starting a discussion? Be the first to share your thoughts!

Write a comment

Related topics

We use cookies to improve your browsing experience on our site, show personalized content and targeted ads, and analyze site traffic.
More info