Author Topic: Righto - We need a PROPER library  (Read 180 times)

Naf1

  • Foundress Queen
  • *****
  • Posts: 753
Re: Righto - We need a PROPER library
« Reply #20 on: February 24, 2010, 02:32:14 AM »
Nothing you should not be familiar with :P

Installation
------------
Please review this document and the RELEASE document prior to installing OJS.
If you encounter problems, please also see the FAQ document in this directory.

To install OJS:

   1. Extract the OJS archive to the desired location in your web
      documents directory.
   
   2. Make the following files and directories (and their contents)
      writeable (i.e., by changing the owner or permissions with chown or
      chmod):
     
        * config.inc.php (optional -- if not writable you will be prompted
          to manually overwrite this file during installation)
        * public
        * cache
        * cache/t_cache
        * cache/t_config
        * cache/t_compile
        * cache/_db
   
   3. Create a directory to store uploaded files (submission files, etc.)
      and make this directory writeable. It is recommended that this
      directory be placed in a non-web-accessible location (or otherwise
      protected from direct access, such as via .htaccess rules).
     
   4. Open a web browser to <http://yourdomain.com/path/to/ojs/> and
      follow the on-screen installation instructions.
     
      Alternatively, the command-line installer can be used instead by
      running the command "php tools/install.php" from your OJS directory.
      (Note: with the CLI installer you may need to chown/chmod the public
      and uploaded files directories after installation, if the Apache
      user is different from the user running the tool.)
     
      The installer also offers a "manual installation" option that will
      display the SQL statements necessary to create the OJS database but
      not execute them.
   
   5. Recommended additional steps post-installation:
   
        * Review config.inc.php for additional configuration settings
        * Review the FAQ document for frequently asked technical and
          server configuration questions.

A secure deployment can be best achieved by using the following policies:

   * Dedicate a database to OJS; use unique credentials to access it.
     Configure this database to perform automated backups on a regular
     basis. Perform a manual backup when upgrading or performing
     maintenance.

   * Configure OJS (config.inc.php) to use SHA1 hashing rather than MD5.

   * Configure OJS (config.inc.php) to use force_ssl_login so that
     authenticated users communicate with the server via HTTPS.

   * Install OJS so that the files directory is NOT a subdirectory of
     the OJS installation and cannot be accessed directly via the web
     server. Restrict file permissions as much as possible. Automated
     backups of this directory should be roughly synchronized with
     database backups.

http://pkp.sfu.ca/ojs/README

OJS in one hour
http://pkp.sfu.ca/files/OJSinanHour.pdf

edit;We are going to have filled up the recent posts section at this rate!

There is a working demonstration of it at;

http://pkp.sfu.ca/ojs/demo/present/
« Last Edit: February 24, 2010, 02:40:52 AM by Naf1 »

no1uno

  • Global Moderator
  • Foundress Queen
  • *****
  • Posts: 681
Re: Righto - We need a PROPER library
« Reply #21 on: February 24, 2010, 05:28:51 AM »
Unfortunately no1uno is a little bit over-stretched at the moment experimenting with low-budget, low-brow analytical equipment for the amateur science community, plus resuming "actual" study ;) Damn, I ask for quotes from Chinese business' for bloody camera-phone modules and I'm getting results down to $3.25/ea with the PCB attached. I'm also looking for phosphor-coated CCD/CMOS sensors for the Far-mid-near UV regions (separate camera - they fluoresce giving the response in the visible range).

If we can get UV-NIR adsorption spectroscopy, plus Raman looking feasible then that would be a killer in the WOD. Quite frankly, given the spectacular fuckups that have been documented with the low-ED50/LD50 drugs, most people wanting to try and make them would probably prefer to have a fair fucking idea what is in their flask
"...     "A little learning is a dang'rous thing;
    Drink deep, or taste not the Pierian spring:
    There shallow draughts intoxicate the brain,
    And drinking largely sobers us again.
..."

Vesp

  • Administrator
  • Foundress Queen
  • *****
  • Posts: 3,130
Re: Righto - We need a PROPER library
« Reply #22 on: February 24, 2010, 06:35:50 AM »
PS... It seems to be a bit harder then the instructions I'm finding.. but I'll figure it out eventually, at least to play around with it.
Bitcoin address: 1FVrHdXJBr6Z9uhtiQKy4g7c7yHtGKjyLy

Naf1

  • Foundress Queen
  • *****
  • Posts: 753
Re: Righto - We need a PROPER library
« Reply #23 on: February 24, 2010, 08:44:06 PM »
Awesome, so you are at least looking at it! What are you stuck on? Dedicating a MySQL database? Have you been able to open a browser and goto <http://yourdomain.com/path/to/ojs/> yet (step 4)? That paper was called OJS in an hour!

no1uno

  • Global Moderator
  • Foundress Queen
  • *****
  • Posts: 681
Re: Righto - We need a PROPER library
« Reply #24 on: February 24, 2010, 08:53:29 PM »
Didn't someone say they did code?

AJAX could be the answer here, fuck waiting for pages to load - just have the basic structure and then based upon the queries, dynamically load the required sub-topic/sub-section from the DB using AJAX and http calls - once the DB is in place, set everything up so that the files are structured/structurable ie. use extra room to spell out the requests that will call that file as part of a php array, that is then called by an AJAX call from a drop-down box/link, sent in xml to the server and replaces the existing page with the new dataset.

Naf1, check out the amount of data I just sent you the link to
"...     "A little learning is a dang'rous thing;
    Drink deep, or taste not the Pierian spring:
    There shallow draughts intoxicate the brain,
    And drinking largely sobers us again.
..."

Vesp

  • Administrator
  • Foundress Queen
  • *****
  • Posts: 3,130
Re: Righto - We need a PROPER library
« Reply #25 on: February 24, 2010, 11:50:31 PM »
Awesome, so you are at least looking at it! What are you stuck on? Dedicating a MySQL database? Have you been able to open a browser and goto <http://yourdomain.com/path/to/ojs/> yet (step 4)? That paper was called OJS in an hour!


That is the part I was having problems with -- I am sure I am just looking past something and being stupid, and I'll look at it again to try and figure it out. Hopefully it won't be to hard. I doubt it is.


Not to sure who said they did code.. but I am sure someone, or several people said they were into it.

Would using AJAX be a better solution then this pre-made journal program? I don't know AJAX, but assuming the program is eventually figured out, it ought to provide the same functions, right? Or would AJAX save time when it came to dealing with all of the files, etc?
Bitcoin address: 1FVrHdXJBr6Z9uhtiQKy4g7c7yHtGKjyLy

Naf1

  • Foundress Queen
  • *****
  • Posts: 753
Re: Righto - We need a PROPER library
« Reply #26 on: February 25, 2010, 12:03:18 AM »
I did some rudimentary C programming back in the day, but I am sure that would be of no use nowadays! This OJS would be easier than building a database application from the ground up. If you find someone able to code they could modify the source available for OJS.

This may help?

http://pkp.sfu.ca/wiki/index.php/PKP_Frequently_Asked_Questions