End-user apps in WSO2 Identity Server
Branch | Build Status |
---|---|
master |
- Download or clone the project source code from https://github.com/wso2/identity-apps
- Install NodeJS from https://nodejs.org/en/download/.
If you are building the project for product-is build, do this step.
- Install Maven from https://maven.apache.org/download.cgi.
- Run
mvn clean install
from the command line in the project root directory (where the rootpom.xml
is located). And the built dependency will install to your local.m2
repository. - Then build WSO2 Identiy Server. (Follow the guide there)
- Run
npm run build
from the command line in the project root directory (where thepackage.json
is located) to build all the packages with dependancies. - Download a WSO2 Identity Server distrubution.
- Add below code to
WSO2 Identity Server/repository/deployment/server/webapps/scim2/WEB-INF/web.xml
to allow CORS for webpack dev servers. (If you are running the app in webpack dev server as in the 4th step)
<filter>
<filter-name>CORS</filter-name>
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
<init-param>
<param-name>cors.allowOrigin</param-name>
<param-value>http://localhost:9000</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CORS</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- Start in development mode, Execute
cd apps/<app> && npm start
command. E.g.cd apps/user-portal && npm start
.
Licenses this source under the Apache License, Version 2.0 (LICENSE), You may not use this file except in compliance with the License.