Giter Site home page Giter Site logo

tafodinho / identihub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from identihub/identihub

0.0 2.0 0.0 2.88 MB

Identihub is self-hosted Open Source brand & assets management software

Home Page: https://demo.identihub.co

License: GNU Affero General Public License v3.0

PHP 22.21% JavaScript 77.16% HTML 0.63%

identihub's Introduction

Waffle.io - Columns and their card count License: AGPL v3

Identihub

Identihub is an open-source web platform for brand and assets management. It is being developed by Ura Design, an open-source design agency.

Demos:


Installing

Homestead

  1. Map Identihub on Homestead.yaml.
  2. Copy the .env.example to .env and update the latter accordingly.
  3. Run Vagrant.

Without Homestead (Apache)

Installing the software

apt-get update && apt-get upgrade
apt-get install apache2 mysql-server php libapache2-mod-php php-mcrypt php-mysql php-curl php-json php-mbstring php-dom composer unzip libmagickwand-dev imagemagick php-dev

Setting up the database

CREATE DATABASE identihub DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON identihub.* TO 'identihubuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit

Configure Apache

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html/public

        <Directory /var/www/html/>
            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <IfModule mod_dir.c>
            DirectoryIndex index.php index.pl index.cgi index.html index.xhtml $
        </IfModule>

</VirtualHost>

(Assumes you have installed Identihub in /var/www/html)

a2enmod rewrite
systemctl restart apache2

Configure Identihub

cp .env.example .env
nano .env

Edit 'DB_DATABASE' 'DB_USERNAME' and 'DB_PASSWORD'

Install Identihub's dependencies:

composer install

Migrate the Indentihub database (this will create the database tables):

php artisan migrate

Seed the Indentihub database (this will populate the database with initial values):

php artisan db:seed

Install Laravel Passport. This is related to the API's authentication:

php artisan passport:install

Generate AES-128-CB & AES-256-CBC:

php artisan key:generate

(Optional) Modify /etc/hosts on the host machine to include identihub:

192.168.10.10   identihub.test

Modify the Homestead.yaml (in the Homestead directory) to add an alias identihub.test to the project's document root.


.....
sites:
    - map: identihub.test
      to: /home/vagrant/code/identihub/public
      php: "7.2"
.....

Finishing steps

  1. Navigate to your server URL from the web browser.
  2. Click Continue.
  3. Enter localhost in 'database host', your database settings, and fill the rest.

Note: Please use HTTPS. You can get a free SSL certificate using Let's Encrypt. Your users deserve security.


Troubleshooting

Homestead

  • I'm getting an error message upon deployment: "The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."

    Run the following within your Vagrant box:

    php artisan key:generate

    php artisan config:clear


Bug Reporting

To help identify and subsequently fix bugs faster, make sure to include some basic information in your report.

  1. Expected Results (e.g. Successful User Login)
  2. Actual Results (e.g. User Login Interrupted with Error Message...)
  3. Browser (e.g. Mozilla Firefox) and Screen Resolution (e.g. 1920x1080)
  4. Steps to Reproduce (e.g. Access Main Page, Hit Login, Fill In Login Form, Hit Submit Button)

Contributing Code

Simply create a branch based on the dev branch, do your changes, and open it as a pull request. Ideally write tests for the feature or bugfix you propose.

identihub's People

Contributors

elioqoshi avatar ilirhushi avatar budaaaa avatar giannisk avatar chrispecoraro avatar aleksanderkoko avatar jancborchardt avatar waffle-iron avatar brantje avatar

Watchers

James Cloos avatar Tafang Joshua avatar

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.