Set Up
Create a PostgreSQL database
- Start a shell (cmd.exe)
- Navigate to your PostgreSQL installation path $postgres (i.e. C:\[USERPATH]\bin\pgsql)
- Go into the bin subdirectory (cd bin)
- Create a data directory (mkdir data)
- Start PostgreSQL pg_ctl.exe start -D “C:\[USERPATH]\bin\pgsql\data”
- Create the mamodar database createdb.exe mamodar
Set-Up
- Start Visual Studio Code
- Install two Extensions (fifth icon on the left bar):
2.1 Gradle Tasks (richardwillis.vscode-gradle)
2.1 npm (eg2.vscode-npm-script)
- Update server\application.properties
3.1. Fill in spring.datasource.username and spring.datasource.password using the PostgreSQL data
3.2. Update rdmo.token and rdmo.url to point to a previously setup RDMO server
- In Source Control (third icon on the left bar)
4.1. Clone repository: https://github.com/cuehs/mamodar.git
4.2. Select a local folder to clone code to (no server!)
4.3. Open folder in Visual Studio Code
- Go to Terminal, Run task: npm: build -web