Ogify - others get it for you!
Url: http://ogify.net
Treat people the way you want them to treat you.
Table of Contents:
First of all make sure that all prerequisites are installed and configured properly. If you have any problems ont this step - please, read instalation notes of each product.
Don't forget to set JAVA_HOME, JRE_HOME, MAVEN_HOME and other environment variables. Make sure that 'path' variable contains all binary folders of installed prerequisites.
Clone project from main repo using git(Build_0 branch):
git clone https://github.com/ogify/ogify.git
Then, open console and move to the project root dir.
Execute maven task to build web archive package like:
cd srv
mvn package
Copy artifacts and configure Tomcat
Start Tomcat using startup script.
Move to 'webclient' folder, install and run frontend web server:
cd webclient
npm install
npm start
Verify that http://localhost:8000 working properly.
Access MySQL as root user like:
mysql -u root -p
Create Database for ogify project:
CREATE DATABASE `ogify` CHARACTER SET utf8 COLLATE utf8_general_ci;
Create user and grunt DB:
CREATE USER 'ogify'@'localhost' IDENTIFIED BY 'ogify';
GRANT ALL PRIVILEGES ON ogify.* TO 'ogify'@'localhost';
Copy built war from 'target' to tomcat 'webapps' folder and rename it:
cp target/net.ogify-1.0-SNAPSHOT.war $TOMCAT_HOME/webapps/ogify.war
Modify $TOMCAT_HOME/conf/server.xml file to use port 8080.
Provide link resource to already configured DB. Add to $TOMCAT_HOME/conf/context.xml string like:
<Resource name="jdbc/ogify" auth="Container" type="javax.sql.DataSource" username="ogify" password="ogify" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/ogify"/>
You could configure WebStorm IDE client to run frontend scripts like:
Where JavaScript file pointed to already installed npm-cli.js
Current working version located at Build_0 git branch.
If you have any question please fill free to contact as: [email protected], [email protected] or [email protected]