Skip to content

Livila/dbwebb-dbjs-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbwebb-dbjs-project

This is a project we're making at Blekinge Institute of Technology.

Dependencies

npm install body-parser npm install express npm install mysql

MySQL

Run the command "npm install mysql" in the main directory.

Making a file runnable

Run the command "chmod 755 [filename]", change "[filename]" to the file you want to make runnable.

Use either the mode 755 or 744. 755 will make it runnable on all users and 744 will make it runnable on the current user only.

Git Interface for Windows

https://gitextensions.github.io/

Some Git Commands

Run "git help", "man git" or "git help everyday" for help and descriptions.

  • git init

  • git status

  • git diff

  • git diff [file/directory]

  • git log

  • git add [file/directory]

  • git add --all

  • git commit -m "message"

  • git push

  • git stash

  • git pull

  • git stash pop

Check out 'man git checkout' or 'git help checkout' first.

  • git checkout [branchname]

  • git checkout -b [newbranchname]

WARNING: Be careful. Might do something unintended.

  • git reset HEAD

  • git reset HEAD~n, where n is a number

  • git checkout --