helius

所属分类:Python编程
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2014-11-11 14:31:16
上 传 者sh-1993
说明:  用PHP和EmberJS编写的黑客新闻克隆
(A Hacker News clone written in PHP and EmberJS)

文件列表:
.htaccess (126, 2014-11-11)
LICENSE (1085, 2014-11-11)
api/ (0, 2014-11-11)
api/OAuth.php (26525, 2014-11-11)
api/callback.php (3354, 2014-11-11)
api/clearsessions.php (228, 2014-11-11)
api/comment.php (944, 2014-11-11)
api/config.php (221, 2014-11-11)
api/functions.php (1786, 2014-11-11)
api/gc.php (1147, 2014-11-11)
api/getpost.php (1227, 2014-11-11)
api/index.htm (22, 2014-11-11)
api/indexmaker.php (2119, 2014-11-11)
api/login.php (896, 2014-11-11)
api/logout.php (172, 2014-11-11)
api/mysql.php (176, 2014-11-11)
api/post.php (1509, 2014-11-11)
api/twa.php (7656, 2014-11-11)
api/ustatus.php (3787, 2014-11-11)
api/vote.php (1585, 2014-11-11)
assets/ (0, 2014-11-11)
assets/app.js (6558, 2014-11-11)
assets/bootstrap.min.css (113286, 2014-11-11)
assets/handlebars-v1.3.0.js (89667, 2014-11-11)
assets/index.htm (22, 2014-11-11)
assets/main.css (6351, 2014-11-11)
db.php (1493, 2014-11-11)
index.htm (16296, 2014-11-11)

Helius - A HackerNews Clone ======= ![enter image description here](https://lh5.googleusercontent.com/-d7_mhr-F9k4/VE5vTuGmeFI/AAAAAAAAIXg/xPBheWCTvi8/w910-h460/Screenshot+from+2014-10-27+21:42:29.png) If you are interested in becoming a contributer let me know Introduction ------------ A simple HackerNews clone written using PHP, and EmberJS. It requires users signing in using a Twitter account. Inspired by Product Hunt and HackerNews and all the HackerNews clones focusing on different sub categories (HackerNews for Bitcoin etc) This was made as a weekend project while learning EmberJS, you can easily customize this and host it as your own HackerNews for your favourite topic. It uses Twitter Bootstrap therefor responsive in design. Installation ------------ The source code is available at [https://github.com/rukshn/helius.git](https://github.com/rukshn/helius.git). Clone the repository by: [root@localhost ~]# git clone https://github.com/rukshn/helius.git How to use ------------------ Here is a brief introduction to the directories in the repository. **API :** Contains all the files that handle the backend functions. **Assets:** Contains the CSS and image files. **After installation,** 1. Create a Twitter app from developer page and replace the consumer key, consumer secret and callback URL variables in the **/api/config.php** file. 2. Add your database database name, username, password in the **/api/mysql.php** file. 3. Add the same database name, username, password to db.php file in the root folder and run it to create necessary tables and delete it after that. 4. Modify the index.htm according to your project by replacing the names of my project and links to Facebook, Twitter, Newsletter etc. 5. You are good to go after that. Before you finish reading ------- 1. It was a weekend project so the coding was in a rush and it might not follow your best practices in coding. 2. The documentation might be little. 3. There is lot of room for improvement, please improve on this, fork it, correct errors. 4. If you like contribute to the project. 5. If you hate PHP don't blame me, it may not be perfect but it works. Dependencies ------- - Jquery - Twitter Bootstrap - Handlebars JS - Ember JS - Moment JS

近期下载者

相关文件


收藏者