Skip to content

This is the code for the c284-webmain-1 website, accessible at the link below.

License

Notifications You must be signed in to change notification settings

coolguy284/c284-webmain-1

Repository files navigation

Introduction

This is the code for the c284-webmain-1 website, accessible at https://coolguy284.com.

File Layout

The website is split into 2 parts, the code part on the github repo, and information such as logs and the mongodb database which is stored off of the github repository.

the files are laid out as follows for linux:

/home/webmain/c284-webmain-1/  . github repository
  srv_web_main/dockerenv.list  . docker build environment variable file
/home/webmain/c284-webmain-1_s/
  cert .   .   .   .   .   .   . certificates for srv_web_main
  logs .   .   .   .   .   .   . main log files
  logs_mongodb .   .   .   .   . mongodb log files
  mongodb  .   .   .   .   .   . mongodb database
  srv_web_old_data .   .   .   . srv_web_old mounted data dir
  srv_web_old2_data    .   .   . srv_web_old2 mounted data dir
  srv_web_oldg_data    .   .   . srv_web_oldg mounted data dir
  env.list .   .   .   .   .   . environment variable file
  srv_web_old2.env.list    .   . srv_web_old2 environment variable file

the files are laid out as follows for windows:

D:/Data/c284-webmain-1/    .   . github repository
  srv_web_main/dockerenv.list  . docker build environment variable file
D:/Data/c284-webmain-1_s/
  cert .   .   .   .   .   .   . certificates for srv_web_main
  logs .   .   .   .   .   .   . main log files
  logs_mongodb .   .   .   .   . mongodb log files
  mongodb  .   .   .   .   .   . mongodb database
  srv_web_old_data .   .   .   . srv_web_old mounted data dir
  srv_web_old2_data    .   .   . srv_web_old2 mounted data dir
  srv_web_oldg_data    .   .   . srv_web_oldg mounted data dir
  env.list .   .   .   .   .   . environment variable file
  srv_web_old2.env.list    .   . srv_web_old2 environment variable file

Environment Variables

The in-env.list file in the repo directly corresponds to the env.list file out of the repo, and things in angle brackets are substitutions. Same for the srv_web_main/in-dockerenv.list and srv_web_old2.env.list files. The env.debug.list file is for running in debug mode, and the debug_mode file must be present in the toplevel repo directory to use env.debug.list instead of env.list.