Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I think you're lacking guidance.
Normally you would set up your git folder on your development computer (most times thats literally your project root folder, enjoy all the gitty things, and whenever you've got a state that's ready for deployment you merge your development branch back into your master branch and push that to where it's needed.
This is where deployment tools step in. Surely you could just ftp the built project files over yourself, or you could look for a tool that does all that for you. I know that GitLab has this out of the box. (not sure if thats an enterprise / premium feature)
What I can read from the post it sounds like you're coding on production. ... I seriously wouldn't do that for anything somewhat serious.
But thats the basic wrap. Hope that gives you an idea. -
@beggarboy could you recommend some tutorial? I should setup dome apache/wamp/xampp dev environment for myself then I guess?
-
@zemaitis Yeah that would be a good first start. If you need a recommendation on an editor, I would pick VS Code.
Here's a git quickstart
http://rogerdudler.github.io/git-gu...
And I don't personally know anything better than xampp myself, but there might be. I am wrong person for that. I am used to angular doing all that for me. -
@zemaitis Laragon is a nice portable local web stack for development. It was designed for laravel, but their stack is much more flexible than that. They even have auto-configured local domains so you can do "project.dev" in your web browser instead of localhost and have each project logically separated from each other.
Related Rants
I have several php+html+css websites and up until now was working on them directly from ftp. I would like to introduce version control (github) but dont know how to go about it. My webhosting has cpanel and if Im not mistaken it should accept deployment from github. How I should go about it?
question