GithubHelp home page GithubHelp logo

emedema / fallr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nathan-nesbitt/fallr

0.0 1.0 0.0 8.05 MB

A blogging website for falling into deep holes, built with a RESTful API.

License: MIT License

PHP 17.44% TSQL 0.64% HTML 73.82% Rich Text Format 0.31% CSS 7.79%

fallr's Introduction

fallr

A blogging website for falling into deep holes. Built with MySQL, PHP and JavaScript. This project uses Amazon SES for delivering mail.

Requirements

  1. Apache2
  2. PHP
  3. MySQL

Mild Explanation of credentials.php file

I know there are credentials in here, they are not actual credentials and MUST be updated before launching.

Setup

Essentially this has to be run in 2 parts: The API and the regular server. I have my system set up to serve these files up in the following way:

localhost/fallrAPI/ localhost/fallr/

This can be achieved by running apache2 and creating links from the api folder and the src folder to the /var/www/html/ folder. The following commands should give you a decent idea of how to do this:

ln -s ~/Documents/fallr/API/api /var/www/html/fallrAPI
ln -s ~/Documents/fallr/src /var/www/html/fallr

You will likely also have to configure apache2 to use the .htaccess files. To do this, open the /etc/apache2/sites-enabled/<config-file-name>.conf and add the following lines to the bottom.

<Directory /var/www/html/fallrAPI>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
<Directory /var/www/html/fallr>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

You will also need to create the database using the createMySQL.SQL script and update the username/password in the credentials.php file (I have left phony information in there for now, as it becomes a pain to explain how to properly create this file). You should also update the secret key as it is public on git.

This should be enough to get basic functionality.

Mail

This project uses the amazon SES mailing service to send reset emails to the clients.

fallr's People

Contributors

nathan-nesbitt avatar emedema avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.