Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waterlink/bloh
this is BLOH[G]!
https://github.com/waterlink/bloh
Last synced: about 1 month ago
JSON representation
this is BLOH[G]!
- Host: GitHub
- URL: https://github.com/waterlink/bloh
- Owner: waterlink
- Created: 2014-01-11T14:02:41.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-28T14:33:19.000Z (almost 11 years ago)
- Last Synced: 2024-10-16T07:16:18.147Z (3 months ago)
- Language: PHP
- Homepage: bloh.herokuapp.com
- Size: 523 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bloh - Ultimate Blog Application on Pure PHP
## Install php 5.{4,5} on Ubuntu 13.04+
```bash
sudo apt-get install php5 php5-dev php5-pgsql
```## Running php server in development
```bash
cd projects/bloh
php -S localhost:3000
```Now it is available on http://localhost:3000
## Install postgres
```bash
sudo apt-get install postgresql
sudo {vim or subl, or anything else} /etc/postgresql/9.*/main/pg_hba.conf
{add after postgres -- peer string:local all postgres peer
+ local all bloh md5}
sudo service postgresql restart
sudo su postgres
{postgres}: ./createdb.sh
{entering here bloh-bloh}
```## Running connection test
```bash
php connect.php
```It shouldn't output any errors
## Creating post table
```bash
cd scripts
psql bloh -f create_tables.sql -U bloh -W
{enter bloh password}
```