Many people have hundreds of photos stored across countless websites. It takes a significant amount of time to scroll through all of your photos to find your best memories from years ago. With Foto Time, we give you easy access to your memories: simply choose a time range and we'll select a small sampling of photos from that time period. All of your photo stories are saved with Foto Time so you can review or share them anytime.
Our team added the following features to the existing formidable-coffee/fotos project:
client/config.example.jsx
and name it client/config.jsx
.FACEBOOK_APP_ID
to the App ID
you are provided.Start up MySQL Server
$ mysql.server start
Start a mySQL server with in the terminal (by default there is no password):
$ mysql -u root -p
Create a database called, fotos
. For more information, visit this great tutorial:
mysql> CREATE DATABASE fotos;
Open up the database:
mysql> USE fotos;
Create account and specifiy privileges. Here, we will be creating an admin
account with the password formidable
, connection from localhost
and all access to the database, fotos. More information about users and privileges can be found here AND here
mysql> CREATE USER 'admin'@'localhost' IDENTIFIED BY 'formidable';
mysql> GRANT ALL PRIVILEGES ON fotos.* TO 'admin'@'localhost';
npm install -g webpack
brew install pkg-config cairo libpng jpeg giflib
npm run build
npm run serve
Your site will now be accessible at http://localhost:4000
sudo apt-get update
sudo apt-get install mysql-server
sudo mysql_secure_installation
sudo mysql_install_db
Setup MySQL with an admin
user for fotos app
Steps here
client/config.example.jsx
and name it client/config.jsx
.FACEBOOK_APP_ID
to the App ID
you are provided.As root,
npm install -g forever
As root,
npm install -b webpack
As root,
apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
As root,
adduser deploy
su - deploy
git clone https://github.com/bocks/fotos
cd fotos
npm install
As deploy, from within the project directory,
forever start —workingDir=/home/deploy/fotos /usr/bin/rpm run build
forever start —watch server/server.js