we only want to maintain one INSTALL.txt - and it is in the directory 'install' where it belongs.

This commit is contained in:
friendica 2013-08-15 22:41:34 -07:00
parent d0951777c0
commit 1c1449cd82
4 changed files with 47 additions and 282 deletions

4
bugs
View File

@ -1,4 +0,0 @@
- send refresh posts to everybody that needs to see it, e.g. when site url changes
- when you clear one type of notification or view the target item, clear the corresponding system notification. Issue: what to do about matrix/network posts where you might not have actually seen it.

171
done
View File

@ -1,171 +0,0 @@
Files transitioned to Red:
Legend:
+ Mostly or completely transitioned
? Minimally transitioned, probably needs more work
= Unlikely to require changes
- Not needed in Red
(No marker - has not yet been transitioned, may have some patches applied)
include/
+ account.php
acl_selectors.php
+ activities.php
? api.php
? attach.php
+ auth.php
- bb2diaspora.php (check for function dependencies before removing)
+ bbcode.php
= cache.php
= config.php
Contact.php
contact_selectors.php
contact_widgets.php
? conversation.php
+ cronhooks.php
? crypto.php
+ datetime.php (todo: html removal)
? dba.php
? delivery.php
+ directory.php
+ enotify.php
+ event.php
+ expire.php
? follow.php
+ gprobe.php
+ group.php
= html2bbcode.php
= html2plain.php
+ identity.php
? items.php
+ js_strings.php
+ language.php
? message.php
- msgclean.php
? nav.php
network.php
+ notifier.php
oauth.php
oembed.php
? onepoll.php
? Photo.php
? plugin.php
? poller.php
? profile_advanced.php
profile_selectors.php
? queue_fn.php
? queue.php
- salmon.php
+ security.php
? session.php
? socgraph.php
= system_unavailable.php
= template_processor.php
? text.php
- user.php
+ zot.php
mod/
+ abook.php -> moved to connections.php
? acl.php
admin.php
+ allfriends.php
+ api.php
+ apps.php
+ attach.php
- auth.php
- cb.php
common.php
community.php
+ contactgroup.php
crepair.php
delegate.php
? directory.php
dirfind.php
display.php
editpost.php
? events.php
fbrowser.php
feed.php
filerm.php
filer.php
follow.php
friendica.php -> moved to siteinfo.php, require HTML templating, more
fsuggest.php
+ group.php
- hcard.php -> not needed
= help.php
+ home.php
hostxrd.php -> probably not needed
? install.php
invite.php
+ item.php
+ like.php
+ lockview.php
+ login.php
+ lostpass.php
? magic.php
+ manage.php
match.php
? message.php
? mood.php
msearch.php
? network.php
nogroup.php
notifications.php
+ notify.php
? oembed.php
+ oexchange.php
+ opensearch.php
= parse_url.php
+ photo.php
photos.php
+ ping.php (needs more work)
+ poco.php
+ poke.php
? post.php
+ pretheme.php
+ probe.php
? profile_photo.php
? profile.php
+ profiles.php
profperm.php
qsearch.php
+ randprof.php
- redir.php
+ register.php
? regmod.php
removeme.php
rsd_xml.php (what do we need this for? What functionality/feature does it enable)
search_ac.php
search.php
settings.php - partially done
+ share.php
+ smilies.php
+ starred.php
subthread.php
+ suggest.php
tagger.php
tagrm.php
? uexport.php
? update_community.php - needs converting to json
? update_network.php - needs converting to json
? update_profile.php - needs converting to json
? viewconnections.php
? view.php
+ viewsrc.php
+ wall_attach.php (needs remote permissions refactor)
+ wall_upload.php (needs remote permissions refactor)
webfinger.php
+ _well_known.php
xrd.php
+ zchannel.php
+ zfinger.php
? zperms.php

View File

@ -1,105 +0,0 @@
Red Installation
===============
Red should run on commodity hosting platforms - such as those used to host Wordpress blogs and Drupal websites. But be aware that Red is more than a simple web application. The kind of functionality offered by Red requires a bit more of the host system than the typical blog. Not every PHP/MySQL hosting provider will be able to support Red. Many will. But **please** review the requirements and confirm these with your hosting provider prior to installation.
Also if you encounter installation issues, please let us know via the Github issue tracker (https://github.com/friendica/red/issues). Please be as clear as you can about your operating environment and provide as much detail as possible about any error messages you may see, so that we can prevent it from happening in the future. Due to the large variety of operating systems and PHP platforms in existence we may have only limited ability to debug your PHP installation or acquire any missing modules - but we will do our best to solve any general code issues.
Before you begin: Choose a domain name or subdomain name for your server.
1. Requirements
- Apache with mod-rewrite enabled and "Options All" so you can use a
local .htaccess file
- PHP 5.3 or later
- PHP *command line* access with register_argc_argv set to true in the
php.ini file
- curl, gd, mysql, and openssl extensions
- some form of email server or email gateway such that PHP mail() works
- mcrypt (optional; used for server-to-server message encryption)
- Mysql 5.x
- ability to schedule jobs with cron (Linux/Mac) or Scheduled Tasks
(Windows) [Note: other options are presented in Section 7 of this document]
- Installation into a top-level domain or sub-domain (without a
directory/path component in the URL) is preferred. Directory paths will
not be as convenient to use and have not been thoroughly tested.
[Dreamhost.com offers all of the necessary hosting features at a
reasonable price. If your hosting provider doesn't allow Unix shell access,
you might have trouble getting everything to work.]
2. Unpack the Red files into the root of your web server document area.
- If you are able to do so, we recommend using git to clone the source repository rather than to use a packaged tar or zip file. This makes the software much easier to update. The Linux command to clone the repository into a directory "mywebsite" would be
`git clone https://github.com/friendica/red.git mywebsite`
- and then you can pick up the latest changes at any time with
`git pull`
- make sure folder *view/tpl/smarty3* exists and is writable by webserver
`mkdir view/tpl/smarty3`
`chmod 777 view/tpl/smarty3`
- For installing addons
- First you should be **on** your website folder
`cd mywebsite`
- Then you should clone the addon repository (separtely)
`git clone https://github.com/friendica/red-addons.git addon`
- For keeping the addon tree updated, you should be on you addon tree and issue a git pull
`cd mywebsite/addon`
`git pull`
- If you copy the directory tree to your webserver, make sure
that you also copy .htaccess - as "dot" files are often hidden
and aren't normally copied.
3. Create an empty database and note the access details (hostname, username, password, database name).
4. Visit your website with a web browser and follow the instructions. Please note any error messages and correct these before continuing.
5. *If* the automated installation fails for any reason, check the following:
- ".htconfig.php" exists ... If not, edit htconfig.php and change system settings. Rename
to .htconfig.php
- Database is populated. ... If not, import the contents of "database.sql" with phpmyadmin
or mysql command line
6. At this point visit your website again, and register your personal account.
Registration errors should all be recoverable automatically.
If you get any *critical* failure at this point, it generally indicates the
database was not installed correctly. You might wish to move/rename
.htconfig.php to another name and empty (called 'dropping') the database
tables, so that you can start fresh.
7. Set up a cron job or scheduled task to run the poller once every 15
minutes in order to perform background processing. Example:
`cd /base/directory; /path/to/php include/poller.php`
Change "/base/directory", and "/path/to/php" as appropriate for your situation.
If you are using a Linux server, run "crontab -e" and add a line like the
one shown, substituting for your unique paths and settings:
`*/15 * * * * cd /home/myname/mywebsite; /usr/bin/php include/poller.php`
You can generally find the location of PHP by executing "which php". If you
have troubles with this section please contact your hosting provider for
assistance. Red will not work correctly if you cannot perform this step.

View File

@ -17,6 +17,17 @@ Red Matrix. Many will - but please review the requirements and confirm these
with your hosting provider prior to installation. (And preferably before
entering into a long-term contract.)
If you encounter installation issues, please let us know via the Github issue
tracker (https://github.com/friendica/red/issues). Please be as clear as you
can about your operating environment and provide as much detail as possible
about any error messages you may see, so that we can prevent it from happening
in the future. Due to the large variety of operating systems and PHP platforms
in existence we may have only limited ability to debug your PHP installation or
acquire any missing modules - but we will do our best to solve any general code
issues.
Before you begin: Choose a domain name or subdomain name for your server.
Put some thought into this - because changing it is currently not-supported.
Things will break, and some of your friends may have difficulty communicating
@ -52,6 +63,40 @@ directory/path component in the URL) is REQUIRED.
that you also copy .htaccess - as "dot" files are often hidden
and aren't normally copied.
- If you are able to do so, we recommend using git to clone the
source repository rather than to use a packaged tar or zip file.
This makes the software much easier to update. The Linux command
to clone the repository into a directory "mywebsite" would be
git clone https://github.com/friendica/red.git mywebsite
- and then you can pick up the latest changes at any time with
git pull
- make sure folder *view/tpl/smarty3* exists and is writable by webserver
mkdir view/tpl/smarty3
chmod 777 view/tpl/smarty3
- For installing addons
- First you should be **on** your website folder
cd mywebsite
- Then you should clone the addon repository (separately)
git clone https://github.com/friendica/red-addons.git addon
- For keeping the addon tree updated, you should be on you addon tree and issue a git pull
cd mywebsite/addon
git pull
3. Create an empty database and note the access details (hostname, username,
password, database name).
@ -123,7 +168,7 @@ $a->config['system']['php_path'] = '/usr/local/php53/bin/php';
Check your database settings. It usually means your database could not
be opened or accessed. If the database resides on the same machine, check that
the database server name is "localhost".
the database server name is the word "localhost".
#####################################################################
- 500 Internal Error
@ -167,7 +212,7 @@ configuration for your site. This will need to be changed to
If you do not see the word "test", your .htaccess is working, but it is
likely that mod-rewrite is not installed in your web server or is not working.
On most flavour of Linux,
On most flavours of Linux,
% a2enmod rewrite
% /etc/init.d/apache2 restart