GithubHelp home page GithubHelp logo

osoc13 / tdt-installer Goto Github PK

View Code? Open in Web Editor NEW
0.0 10.0 0.0 544 KB

an installer for The DataTank built at open Summer of code 2013

Home Page: http://thedatatank.com

CSS 56.83% JavaScript 25.14% PHP 18.03%

tdt-installer's Introduction

tdt-Installer

This is an installer for the Datatank.

Requirements

  • A web server (Apache is recommended)
  • PHP >= 5.3
  • A database server (MySQL is recommended)
  • Curl
  • Git (in your PATH)
  • Composer (in your PATH)

Note that if the installer does not detect Git or Composer in your path, try putting it somewhere else in your path (/usr/bin usually works).

Make sure your www user has write permission in the installer's own directory, the settings directory and the installer's parent directory (where the DataTank will be installed). This is checked when you start the installer.

Windows is not supported. The installer has been tested successfully on Linux and OS X.

Installation instructions

To get started, clone this repository to your machine. After that, the installer's dependencies can be installed using Composer. Your copy of the installer will include a composer.json file, so just run a composer update to install all dependencies.

To start the installer, move the directory containing the installer to the directory on your web server where you wish to install the Datatank. Then point your browser to the index.php file of the installer.

If something goes wrong during the installation, it will be written to the installer log file in settings/installer.log.

Authors

Copyright

2013 by OKFN Belgium

tdt-installer's People

Contributors

benjaminmestdagh avatar nicolasdierck avatar dive-michiel avatar

Watchers

Jan Vansteenlandt avatar Ah-Lun Tang avatar James Cloos avatar  avatar Michael Vanderpoorten avatar  avatar  avatar  avatar  avatar maa!ke avatar

tdt-installer's Issues

Composer output

Composer output when downloading packages should scroll down

Error handling

Problem

When the installation fails, it shows a lot of php errors and warnings and the installation restarts afterwards. There are steps in the installation process but you cannot return to a certain step. You have to go through all the steps again.

Solution

Give better feedback when an error occurs if possible. If not, make sure that someone can go back in the installation procedure.

Add installer namespace to autoloader

You can add the tdt/installer namespace to the autoloader so that you do not have to include/require files all the time. This adds flexibility and allows "lazy" class-loading.

$loader = require 'vendor/autoload.php';
$loader->add('tdt\\installer\\', ...);

Question about javascript/ajax

What is the advantage of using javascript/ajax for the installer. Would it not be easier to let "render" PHP everything? Or am I missing some cool functionality that requires ajax?

Poke @coreation

Password input fields

Something other than password input fields should be used, since now the browser asks the user to store passwords!

Redirecting to the startpage

Users should be redirected to the startpage (or the page they viewed latest) when they try to access another page of the installer without following the order of the installer.

README.md

Don't forget to complete your README.md file.

Progress

Progress should be shown on top

Caching should be "on" by default

Problem

There is no difference between an installation for development purposes and an installation for production purposes at this moment. Because of this, we should suppose this is a production environment. The default caching configuration is "disabled" and it cannot be turned on.

Fix for now

Make sure memcache is enabled by default and that the user-interface to turn it on and off is fixed.

[GUI] The installer does not fit on a single page

Problem

Each step in the installer is fairly small and does not contain a lot of text. Yet, when opening the installer in full screen on a normal resolution display, you still have to scroll vertically before being able to go back.

Solution

Make sure vertical scrolling is not needed by not loosing so much space at the top.

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.