Skip to content

danigiri/snow-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snow Package

Morfeu compatibility service for JS, includes support for JSX file format.

How it works

How it works

Please refer to the Morfeu documentation for further information.

Development

# build the morfeu library
cd morfeu && \
    mvn package war:war install \
    -DarchiveClasses=true -DattachClasses=true -DskipITs -DskipTests=true -Djetty.skip -Dskip-build-client=true 

# start morfeu pointing at the host and port where we will run the snow package app
cd morfeu && mvn compile jetty:run \
    -D__RESOURCES_PREFIX=http://localhost:8990/ \
    -D__PROXY_PREFIX=http://localhost:8990
    
# start the morfeu frontend
cd morfeu/src/main/typescript && npm start

# start the snow package backend app
mvn compile resources:resources jetty:run -D__RESOURCES_PREFIX=file://$(pwd)/target/classes/

# start the snow package test site
cd src/test/react && npm start

# browser URL
http://localhost:3000/?config=%2Fproxy%2Fconfig.json

License

Copyright 2024 Daniel Giribet

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.