Skip to content

sfu-dhil/hns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIV and the Network Society

HIV and the Network Society (affectionately known as HNS) is a PHP application written using the Symfony Framework. It is a digital tool for collecting archive materials created by AIDS activists in San Franciso in the 1980s and 1990s.

Requirements

We have tried to keep the requirements minimal. How you install these requirements is up to you, but we have provided some recommendations

  • Apache >= 2.4
  • PHP >= 7.4
  • Composer >= 2.0
  • MariaDB >= 10.81
  • Yarn >= 1.22

Installation

  1. Fork and clone the project from GitHub.

  2. Install the git submodules. git submodule update --init is a good way to do this

  3. Install composer dependencies with composer install.

  4. Install yarn dependencies with yarn install.

  5. Create a MariaDB database and user.

     DROP DATABASE IF EXISTS hns;
     CREATE DATABASE hns;
     DROP USER IF EXISTS hns@localhost;
     CREATE USER hns@localhost IDENTIFIED BY 'abc123';
     GRANT ALL ON hns.* TO hns@localhost;
  6. Copy .env to .env.local and edit configuration to suite your needs.

  7. Either 1) create the schema and load fixture data, or 2) load a MySQLDump file if one has been provided.

    1.  php ./bin/console doctrine:schema:create --quiet
       php ./bin/console doctrine:fixtures:load --group=dev --purger=fk_purger
    2. ```bash
      mysql hns < hns.sql
    
  8. Visit http://localhost/hns

  9. happy coding!

Some of the steps above are made easier with the included MakeFiles which are in a git submodule. If you missed step 2 above they will be missing.

Footnotes

  1. A similar version of MySQL should also work, but will not be supported.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages