Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 3.82 KB

SETUP.md

File metadata and controls

74 lines (53 loc) · 3.82 KB

SETUP

1100CC & nodegoat

Make sure 1100CC is configured or your server and a new SITE named 'nodegoat' has been added and setup (see the 1100CC SETUP instructions).

Update the new nodegoat setup with this repository:

  1. Overwrite the new ./APP/nodegoat and ./APP/SETTINGS/nodegoat directories in your 1100CC directory with the ./APP/nodegoat and ./APP/SETTINGS/nodegoat directories from this repository.
  2. Copy ./APP/STORAGE/nodegoat/CMS/css/templates.css from this repository to the same path in your 1100CC directory.
  3. Update ./APP/SETTINGS/nodegoat/settings.php to configure the database passwords.
  4. Add the appropriate databases and run the additional SQL, see Database.
  5. Compile nodegoat's services, see Programs.
  6. Login to your nodegoat CMS (cms.yournodegoathost.com), go to User Management, and add a new user to 'User' (see the 1100CC Guides).
  7. You can now login with your new user account to your nodegoat HOME (yournodegoathost.com).
  8. Login to your nodegoat CMS, go to Jobs, and make sure the Job Scheduler is running (see the 1100CC Guides).

Database

In addition to the already created nodegoat_cms and nodegoat_home databases when setting up 1100CC, create the databases nodegoat_content and nodegoat_temp:

CREATE DATABASE nodegoat_content CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE DATABASE nodegoat_temp CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

Grant the 1100CC MySQL users their nodegoat_content and a nodegoat_temp privileges:

GRANT SELECT, INSERT, UPDATE, DELETE, DROP ON nodegoat_content.* TO 1100CC_cms@localhost;
GRANT SELECT, INSERT, UPDATE, DELETE ON nodegoat_content.* TO 1100CC_home@localhost;

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, CREATE TEMPORARY TABLES, EXECUTE, CREATE ROUTINE, ALTER ROUTINE ON nodegoat_temp.* TO 1100CC_cms@localhost;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, CREATE TEMPORARY TABLES, EXECUTE ON nodegoat_temp.* TO 1100CC_home@localhost;

Import additional SQL to their respective databases:

Programs

The following services make use of the 1100CC Programs environment. Make sure you have setup Programs when configuring 1100CC.

Network Analysis

To be able to use nodegoat's Network Analysis features, you have to build its service.

Copy ./PROGRAMS/network_analysis from this repository to the same path in your 1100CC directory.

Libraries needed for inclusion:

  • no additional libraries needed.

Libraries that need to be compiled:

  • no additional libraries needed.
  • Make sure you compiled Boost with its Graph Library (BGL) included.

Use to creation_station.sh script to build and link network_analysis.

cd /var/1100CC/PROGRAMS
./creation_station.sh

When a program is compiled successfully, the path var/1100CC/PROGRAMS/RUN/network_analysis is returned and is ready to be used.

Setup a Job to run the service:

  1. Login to your nodegoat CMS and go to 'Jobs' (see the 1100CC Guides).
  2. Find the job 'nodegoat Analysis Service'.
  3. Set a port e.g. '44444' by editing its options. The service listens to your localhost.
  4. Set the timing to 'Always'.
  5. Save the updated Jobs list and make sure Jobs is running.