The solution for sustainable innovation management 🌳
Run webserver on localhost > Terminal (cd to folder react-app) > npm run dev
react-webapp will be hosted on: http://localhost:5173/
Leon Rosenkranz 💻
Further information:
Coding and Developing with Visual Studio Code
Opening whole project in VSCode: Terminal > code . // opening directory in VS code
General GitFlows (working in team): | > Terminal commands |
---|---|
1) Download the repository once | > git clone (RepositoryURL) (*) |
2) Get the latest changes from the server | > git pull |
3) Stage changes locally | > git add (filename) |
4) Create a commit with a description | > git commit -m (description) |
5) Publish changes to the server | > git push |
(* https://github.com/leonrosenkranz/DLab)
Working with branches (your own development line): | > Terminal commands |
---|---|
1) List all branches and see current | > git branch |
2) Add new branch | > git branch (branchname) |
3) Change between branches | > git checkout (branchname) |
4) Delete a branch | > git branch -d (branchname) |
5) Rename a branch | > git branch -m (branchname) |
6) Pull Changes from branch | > git fetch |
7) Pull Changes from main | > git merge main |
8) Push Changes in main | > git rebase main |
Alternative: Work with GitHub Desktop, TotoiseGit or VSCode GitHub Add-In
Commit Messaging:
#INIT - Initialisiert ein Repository oder ein neues Release
#IMPLEMENT - Implementieren einer neuen Funktion
#CHANGE - Ändern einer bestehenden Funktion
#EXTEND - Erweitern einer vorhandenen Funktion
#BUGFIX - Fehlerkorrektur
#RELEASE - Fertigstellung eines Artefaktes zur Auslieferung
#BRANCH - Erzeugen einer Verzweigung
#MERGE - Zusammenführen einer Verzweigung
#CLOSE - Schließen eines Entwicklungszweiges