Giter Site home page Giter Site logo

greenrobotllc / adnetwork Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 16.0 11.19 MB

Liberty Ad Network - Free and Open Source Self-Service Ad Network written in PHP Laravel

License: GNU General Public License v3.0

PHP 10.64% JavaScript 51.61% Vue 0.03% Shell 0.04% SCSS 0.05% Blade 7.00% Less 30.63%

adnetwork's Introduction

adnetwork

Liberty Ad Network Screenshot 1 Screenshot 2

How to install

-Run: cp .env.sample .env

-Run: nano .env

-Edit the .env file as needed

-Run: php artisan key:generate

-Run: php composer.phar install

-Configure Amazon S3 image hosting, or other file provider and see the TODO below.

Requirements

-php 7.2 or greater.

TODO

-Before you start using this network for real transactions, you'll want to replace the links in the project (SUPPORT CONTACT US BLOG DMCA PRIVACY TERMS) with those of your own.

-Reported bug: There is a problem with seeing images you upload. The problem is the site is referencing a static S3 bucket URL.

If you search through the code base for "gradnetwork", and make it a configurable variable you should be able to fix the problem.

grep -nr "gradnetwork" *

I would welcome any pull requests fixing this issue, including a pull request for this README.

FAQ

Question: How to access admin panel? What is login or password?

Answer: First, register as a new user. Then add the uid of the admin user to the ADMIN_ID variable in your .env. Get the uid from the database. Then clear the cache: https://tecadmin.net/clear-cache-laravel-5/


Question: How do I display erorrs in development?

Answer: In your .env file, set APP_DEBUG to true.


Question: How do I turn off the display of erorrs in production?

Answer: In your .env file, set APP_DEBUG to false.

adnetwork's People

Contributors

andytriboletti avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adnetwork's Issues

Dashboard issue.

When I clone the setup, configure .env with adserver and login on http://adnetwork.example.com with [email protected]/password I get below error

The DB is pointed to adserver DB.

Help appreciated !

Illuminate \ Database \ QueryException (42S02)
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'adserver.clicks' doesn't exist (SQL: select sum(cost) total from clicks where advertiser_user_id = 1 and click_date =2019-10-10)
Previous exceptions
Screenshot from 2019-10-10 14-52-34

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'adserver.clicks' doesn't exist (42S02)

running the first php artisan key:generate I get an error

PHP Warning: require(/home/siteflipp//bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/siteflipp//bootstrap/autoload.php on line 17

There is no vendor directory? Is this missing or something I've done wrong here?

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.