This instruction will introduce our project and how deploye in your host
-
Tenzin, Back-end
-
LinJian Chen, Database
-
Shunyong Weng, Front-end
-
Winston Chang, Back-end
- An individual host
There are public_html directory in repository
- Download repository Zip
- Unzip repository
- Open your individual host
- If home directory is empty, you can place on home directory
- If your home directory is not empty, create an directory for hosted
- Drop and drag all sources from public_html dirctory to your host dirtory(remember the path)
- Set permissions to file (assets/data/savedRecipes.json) to be 777 or 755
- Done
You can test this project on your host
following code to open your website
http://yourhostname/directoryPath/public_html
In ours site will be
http://68.183.120.235/~lxc9094/
In order to deploy our project, you need:
- Apache server
- PHP module
- PHP-Pgsql - Postgres support for PHP
- Postgres server
or
- Local PHP installation
- (Local or Remote) Postgres server
Download the Repository, extract contents of public_html to your public apache folder, or a directory on your disk if you are using a local php setup.
- Edit the database configuration in <public_html>/assets/php/business/dbinfo.php
- If using apache, you can access the site @ index.php, or wherever your public files are
Otherwise
- Run php -S localhost:8080 or a port of your choice, within the directory you extracted public_html to
- HTML - Standard markup language for creating Web pages
- JavaScript - Hypertext Preprocessor for web development.
- PHP - Standard markup language for creating Web pages
- PostgreSQL - The World's Most Advanced Open Source Relational Database
- API - The sources of search in our porject
- We would have a FAQ page listing potential question and answers that a user may have
- A contact page would be available if the FAQ does not satisfy the user's need
- Questions received from user's may potentially be placed into the FAQ, to aid future users.