antariksawan
is an exploration of (Functional) Java in Micronaut.
The only prerequisites is JDK 8. Gradle (build tool) will be downloaded and setup on first run.
The application can be built and run via different methods:
- Gradle for development,
- All-in-one JAR for a normal Java distribution,
- Native image builds via Docker
Following any of the above method will allow the application to be accessible from localhost:8080
from your browser.
- Run
./gradlew run
to start the application in development mode
- Run
./gradlew assemble
to build an all-in-one JAR for the web application - Run
java -jar build/libs/*-all.jar
to run the application
- Run
docker build . -t antariksawan
to create a native image containerised version - Run
docker run -p 8080:8080 antariksawan -d
to run the application with binding to port8080
Now you can visit it on localhost:8080
from your browser.
We follow the "feature-branch" Git workflow.
- Commit changes to a branch in your fork (use
snake_case
convention):- For technical chores, use
chore/
prefix followed by the short description, e.g.chore/do_this_chore
- For new features, use
feature/
prefix followed by the feature name, e.g.feature/feature_name
- For bug fixes, use
bug/
prefix followed by the short description, e.g.bug/fix_this_bug
- For technical chores, use
- Rebase or merge from "upstream"
- Submit a PR "upstream" to
develop
branch with your changes
Please read CONTRIBUTING for more details.
Copyright (c) 2019 antariksawan Contributors
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.
antariksawan
is released under the Apache Version 2.0 License. See the LICENSE file for further details.