GithubHelp home page GithubHelp logo

chuvisco88 / npl-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noproblan/npl-website

0.0 1.0 0.0 9.29 MB

Contents of the website npl.ch

PHP 99.28% HTML 0.46% Smarty 0.05% CSS 0.05% JavaScript 0.15% Shell 0.01% Dockerfile 0.01% TSQL 0.01%

npl-website's Introduction

noprobLAN Website

Dieses Repo soll die aktuelle Website npl.ch enthalten.

Dependencies

  • PHP 5.3
  • Zend Framework 1.11

Development Setup

Eclipse

  1. Install Eclipse PDT
  2. Install and run XAMPP. Some times there are problems with Skype running on port 80/443. In that case you need to start Skype after XAMPPs Apache.
  3. Use git to fetch this repo, e.g.: git clone https://github.com/noproblan/npl-website.git - you can also use ssh. If you're not the shell-kind-of-guy you can use TortoiseGit or the Eclipse Plugin EGit.
  4. Go to http://localhost/phpmyadmin and create a database named npl, for example with this query:
    CREATE DATABASE IF NOT EXISTS npl;
  5. Run the SQL queries in db/migrations on the database.
  6. Run the SQL queries on db/seeds.sql to initialize the application with some important and some nice-to-have data.
  7. Create a database user named npl all rights on the database npl, for example with the following query:
    CREATE USER 'npl'@'localhost' IDENTIFIED BY 'XXXXXXXXXXXXX';
    

GRANT USAGE ON . TO 'npl'@'localhost' IDENTIFIED BY 'XXXXXXXXXXXXX' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; GRANT ALL PRIVILEGES ON npl.* TO 'npl'@'localhost'; 8. Now the website should be accessible under http://localhost/npl-website/public/www/.

PHPStorm

  • ...

Manual setup of AMPP on Mac OS X Yosemite

There is already a lot of documentation on the internet, I recommend to use this guide

Docker

Install docker and then run

bin/setup

This copies the INIs if necessary and builds the container. Run the container like that:

bin/run

Then you can open the webpage under http://localhost/public/www

Deployment

For deploying the master branch to production use bash scripts/deploy_prod.sh USER@HOST from your developer machine.

npl-website's People

Contributors

chuvisco88 avatar schmijos avatar

Watchers

James Cloos 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.