source code situs sastra.karo.or.id
PHP Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
storage
tests
.env.example
.gitattributes
.gitignore
README.md
artisan
composer.json
composer.lock
gulpfile.js
package.json
phpspec.yml
phpunit.xml
readme.md
server.php

README.md

Sastra Karo

Cara installna

Pertama cloning lebe repository enda

git clone git@github.com:devkaro/sastrakaro.git

dung e install dependencyna alu composer

composer install

ban database mbaru, ban settingna bas .env. Rename .env.example jadi .env, tamaken credential MySQLndu bas je, contohna

DB_HOST=localhost
DB_DATABASE=dbkaro
DB_USERNAME=karodb
DB_PASSWORD=adinaAkuUgapeKuakapBalingenggeluhenda

Databasena

CREATE TABLE IF NOT EXISTS `tulisen` (
  `ID` int(11) NOT NULL,
  `KategoriID` int(11) NOT NULL,
  `judul` varchar(250) NOT NULL,
  `slug` varchar(100) NOT NULL,
  `isi` text NOT NULL,
  `author` varchar(60) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=147 DEFAULT CHARSET=latin1;


CREATE TABLE IF NOT EXISTS `Kategori` (
  `ID` int(11) NOT NULL,
  `Kategori` varchar(40) NOT NULL,
  `slug` varchar(60) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

Demo

Contoh website banci nenndu bas http://sastra.karo.or.id