brew install maven
mvn -version
If maven is installed correctly you should see the maven version in the terminal:
Apache Maven 3.9.7
.env
file run the following command in your terminal:
make setup
.env
file.make
installed, run the docker-run
and copy-env
commands from the Makefile
manually. .env
you will need install the EnvFile
plugin.settings
> Plugins
> Marketplace
> EnvFile.
Java version 17
, Skill tree
and SkillTreeApplication
EnvFile
and Substitute Environment Variables
.env
file you created above
Apply
and then Ok
Run
button on the top right of your screen to run the application.
public key
from local.js
(if not in local.js
copy it from development.js
) and add it in your .env
file.signin with github
button
localhost:4000
(skill tree frontend homepage) and a rds-session-v2-development
cookie will be set in the browser which will be used for authentication when making API calls.incompleteUserDetails
is false for the user in firestore, else the redirect will not work as intended.Using Website - backend
On Local - http://localhost:3000/auth/github/login?redirectURL=https://staging-skilltree.realdevsquad.com/tasks?v2=true
This will create a cookie in your browser rds-session-v2-development
On Staging - https://staging-api.realdevsquad.com/auth/github/login?redirectURL=https://staging-skilltree.realdevsquad.com/tasks?v2=true
This will create a cookie in your browser named rds-session-v2-staging
This repo uses https://github.com/diffplug/spotless/tree/main/plugin-maven#java for formatting files.
Please build using mvn compile
in local or run mvn spotless:apply
before pushing the code to fix any formatting errors.
To check if the codebase is formatted, you can explicitly use mvn spotless:check
The Continuous Integration build for pushed commits may fail when a Pull Request is created if your code doesn't follow project's formatting guideline.