Example code in the Frontend
import React from 'react';
import CryptoJS from 'crypto-js';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { data: '' };Example code in the Frontend
import React from 'react';
import CryptoJS from 'crypto-js';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { data: '' };<!DOCTYPE html>
<html>
<head>
<style>
body {
height: 100vh;
margin: 0;
background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
overflow: hidden;Laravel mempunyai konfigurasi file storage yang sangat customizable, Jadi kita bisa mengubah drivernya sesuai kebutuhan. Pada tutorial kali ini kita akan mengimplementasi Minio server untuk memanage file-file di aplikasi kita.
Install Minio Server here.
Install projek Laravel here.
| #!/bin/bash | |
| # Get postman app | |
| wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz | |
| sudo tar -xzf postman.tar.gz -C /opt | |
| sudo ln -s /opt/Postman/Postman /usr/bin/postman | |
| #Create a Desktop Entry | |
| cat > ~/.local/share/applications/postman.desktop <<EOL | |
| [Desktop Entry] | |
| Encoding=UTF-8 |
| python odoo.py -r odoo -s --stop-after-init -c odoocodelab.conf |