This is something new.
-
Install NodeJS.
-
Run the following commands:
git clone https://github.com/TheBrenny/JavaAutoMark.git
cd JavaAutoMark
git checkout develop
npm install --save-dev- Copy-pasta
_sample.envas.env(so you have 2 files) - Open
.envand change:
MYSQL_URL=mysql://user:pass@jam/jam
to
MYSQL_URL=<the link I sent in chat>
- Make sure you're on the
developbranchgit checkout develop
- If you're using VSCode, click the debug tab on the left (probably the 3rd tab, the one with the bug and Run arrow)
- Click the green arrow next to
gulp debugorjust run- Choosing
gulp debugwill make sure any changes you make in the code will be automatically updated in your browser. This has the cost of taking a bit longer to start up and using a bit more memory. This might also whinge with an error, just clickDebug anyway. - Choosing
just runwill make the server start up fastest, and use less memory. First time running? Use this!
- Choosing
- If it's your first time running the app, you'll be prompted to install some configuration options.
- Just follow the bouncing ball
- Open up
localhost:80(orlocalhost:81for browser sync) - Log in with
admin:admin
- Make sure you're on the
developbranch:git checkout develop
- Run
git pullto get the latest changes (or press whatever button in your IDE to get the latest changes) - Make your edits to the code
- Run
git commit -m "your message here"to commit your changes - or do it in your IDE's UI. - Run
git pushto push your changes to everyone. -- Or do this in your IDE UI.- I actually don't know what happens if 2 people push different commits at the same time, so we'll find out!