These instructions are currently for Fedora 30. I'll update them over the releases if anything changes.
Press the Win/Super key, type software
and press Enter.
package com.luv2code.springdemo; | |
import java.util.logging.ConsoleHandler; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
import java.util.logging.SimpleFormatter; | |
import org.springframework.context.annotation.AnnotationConfigApplicationContext; | |
public class MyLoggerConfig { |
Download Open JDK on https://jdk.java.net/. Example jdk version is using 17, then extarct jdk archive, and move to directory where you want, recommended jdk location move at /Library/Java/JavaVirtualMachines/
.
Edit file .bashrc
or .profile
or .zshrc
at your home place, and register bin
jdk on path, add this code at bottom:
export PATH="/Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home/bin:$PATH"
Start server Docusaurus
npm start
Starts the development server.
npm run build
Bundles your website into static files for production.
npm run serve
Serves the built website locally.
npm run deploy
Publishes the website to GitHub pages.
Gaming PC
Gear
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll] | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell] | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open] | |
"MuiVerb"="@photoviewer.dll,-3043" | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command] |
.env.example
file to '.env' inside your project root and fill the database information. (windows wont let you do it, so you have to open your console cd your project root directory and run mv .env.example .env
)composer install
or php composer.phar install
php artisan key:generate
php artisan migrate
php artisan db:seed
to run seeders, if any.php artisan serve
// Authentication Routes... | |
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); | |
Route::post('login', 'Auth\LoginController@login'); | |
Route::post('logout', 'Auth\LoginController@logout')->name('logout'); | |
// Registration Routes... | |
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register'); | |
Route::post('register', 'Auth\RegisterController@register'); | |
// Password Reset Routes... |
#spring.jpa.hibernate.ddl-auto=create | |
spring.datasource.url=jdbc:mysql://localhost:3306/latihan | |
spring.datasource.username=root | |
spring.datasource.password=xxxxxx | |
spring.jackson.serialization.indent_output=true | |
spring.jpa.show-sql=true | |
spring.jpa.properties.hibernate.format_sql=true | |
#Thymeleaf |
# DB properties | |
db.driver=com.mysql.cj.jdbc.Driver # org.postgresql.Driver | |
db.url=jdbc:mysql://localhost:3306/demospring # jdbc:postgresql://localhost:5432/springdemo | |
db.username=root | |
db.password=xxxxxx | |
# Hibernate properties | |
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect # org.hibernate.dialect.PostgreSQLDialect | |
hibernate.show_sql= true | |
hibernate.format_sql= true |