GitHunt
MJ

mjarkk/forum

Make a forum as school project

Forum

Make a forum as school project.
build with React and PHP.

Webserver Setup

  • go to: /releases
  • Download the latest version and copy the fils to the webserver
  • Make sure to chmod 666 or 777 all files to ensure file premissions

Setup Dev

  • Install node.js
  • npm i -g webpack webpack-cli yarn (on linux and macOS you might need to add sudo)
  • yarn
  • yarn dev (this will start a live reload server and watches the files)
  • Add a SQL database
  • Add to the nginx virtual server config:
location ~ (\.env) { 
  return 404;
}
  • Or in case of an apache server move the .htaccess to the root of your webserver
  • Make a softlink from build to you'r webserver or just copy the folder after the build has completed
  • Make sure to chmod 666 or 777 all files to ensure file premissions

Create release

  • npm i -g gulp gulp-cli
  • gulp

Languages

JavaScript53.0%PHP35.3%CSS11.7%

Contributors

GNU General Public License v3.0
Created March 6, 2018
Updated January 28, 2023