开源软件名称(OpenSource Name): lombok-android-developer/kotlin-everywhere-mataram-web开源软件地址(OpenSource Url): https://github.com/lombok-android-developer/kotlin-everywhere-mataram-web开源编程语言(OpenSource Language):
CSS
58.8%
开源软件介绍(OpenSource Introduction): KOTLIN/Everywhere & Hacktoberfest Mataram
See who has contributed
more information : http://hacktoberfest-mataram.herokuapp.com/
WEB Challenge
Dalam repository ini anda di challenge untuk membuat sebuah website dengan menggunakan Kotlin. Framework yang digunakan pada repository ini yakni: ktor .
Cara Berkontribusi:
Sebelum memulai, silahkan beri Bintang.
Fork Project
Clone ke lokal komputer anda
Buka project dengan IntelliJ IDEA
Buka direktory src/contributors
Tambahkan class baru (WAJIB KOTLIN), format penamaan: NamaAnda
, atau NamaAnda123
, dst.
Implement Contributor
interface di class tersebut.
Isi kontent. Lihat contoh pada file HayiNukman.kt
jangan lupa buat companion object initialize
untuk memidahkan linking class dengan helper.
companion object {
fun initialize (map : MutableMap <String , Contributor >) {
map[" ha-yi" ] = HayiNukman ()
map[" hayinukman" ] = HayiNukman ()
map[" hayi" ] = HayiNukman ()
}
}
CATATAN:
saat mapping, gunakan unique id, bisa id github anda, atau email address.
jangan ganti ID orang lain yang sudah ada. first come first serve. Bagi yang mengoverride nama orang lain, maka tidak akan di merge (PR ditolak).
Setelah class dibuat, buka file ContributorHelper.kt
Tambahkan inisialisasi class contributor anda ke sini dalam blok ini di class ContributorHelper. Contohnya:
init {
contributors.apply {
HayiNukman .initialize(this )
Abdullah .initialize(this )
RobiHuzwandar .initialize(this )
}
}
Test.
Commit perubahan, kemudian lakukan pull request.
Cara menjalankan
Linux / Mac
Buka terminal dan masuk ke path projek ini
Jalankan perintah ./gradlew run
Akses http://localhost:8080
di browser mu
Untuk lebih mudah, jalankan printah ./gradlew -t build
di terminal yang lain untuk mengaktifkan autobuild
dan selamatkan waktumu
Windows
Buka CMD dan masuk ke directory project ini.
jalankan perintah gradlew.bat run
dari dalam folder project
akses http://localhost:8080
melalui web browser
IntelliJ IDEA
Buka Tab gradle yang ada pada panel sebelah kanan
kemudian Pilih Tasks
> application
> run
===========================================
KOTLIN/Everywhere & Hacktoberfest Mataram
WEB Challenge
In this Repository you are challenged to make a Website using Kotlin. Framework used in this repository is ktor .
How to Contribute :
Before start contributing, please give star to this repo.
Fork the Project
Clone or Download to your local storage
Open the project using IntelliJ IDEA
Open directory src/contributors
Added new class (MUST BE KOTLIN), format name : YourName
, or Name123
etc.
Implement Contributor
interface in your class.
Content value. see an example on file HayiNukman.kt
, dont forget to create companion object initialize
to move linking class with helper.
companion object {
fun initialize (map : MutableMap <String , Contributor >) {
map[" ha-yi" ] = HayiNukman ()
map[" hayinukman" ] = HayiNukman ()
map[" hayi" ] = HayiNukman ()
}
}
Noted :
when mapping, use unique id, you can use your github id or your email address.
don't change other people's IDs that already exist. first come first serve. for those who override the name another person, it will not be merged(Pull Request Rejected)
after the class created, open file ContributorHelper.kt
add your initialization class contribution into the block of the class ContributorHelper. e.g. :
init {
contributors.apply {
HayiNukman .initialize(this )
Abdullah .initialize(this )
RobiHuzwandar .initialize(this )
}
}
Testing
Commit your changes, then do pull request
How to run
Linux / Mac
Open your terminal and enter into this project path
run command ./gradlew run
Access http://localhost:8080
on your browser
For better, run ./gradlew -t build
command in another terminal to activate autobuild
and save your time
Windows
open CMD and navigate to root directory project.
run command gradlew.bat run
open http://localhost:8080
from any web browser
IntelliJ IDEA
open gradle
Tab on the right panel of IDE
then choose Tasks
> application
> run
#HAPPYHACKTOBERFEST
Rewards/Swags
Noted : Swags can be claimed when attending Kotlin/Everywhere & Hacktoberfest Mataram at 26'th October 2019.
请发表评论