Skip to content

rswingler/byuwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

250 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

byuwiki

BYU Class Wiki

Version 0.1.1 - Sat 23 Nov.

  • MongoDB read/write integration has been completed (basic read/write examples are operational)
  • MongoDB read/write example: http://ec2-54-201-62-212.us-west-2.compute.amazonaws.com/two
  • For testing on your own system, you must install and run mongoDB server in the "model/mongo_database" folder
    • Our database name: "wikidb"
    • Our current, and only collection: "content_html"
    • Use the mongo shell "$ mongo" to perform manual adjustments to the database
  • MongoDB Server runs as its own service (default port: 27017)
  • To start MongoDB server as a daemon:
    • navigate to the "model" folder, then execute this command:
    • sudo mongod --fork --logpath db.log --dbpath mongo_database
  • NPM dependencies have been added to the config JSON (run "sudo npm install" to update dependencies)

Version 0.1.0 - Wed 20 Nov.

  • The live server now pulls and restarts automatically!!
  • All changes pushed to GitHub are now immediately reflected on our live URL:
  • Server Start Commands:
    • Navigate to the "Server" folder and then run the following command:
    • SUPERVISOR: sudo forever start -c supervisor controller/js/wiki.js
  • Server Stop Commands:
    • Just change "start" to "stop" in the previous commands

Version 0.0.81 - Tues 19 Nov.

  • update.sh modified; Forever service restart now works (absolute file path not necessary)
  • update.sh successfully pulls from GitHub, successfully restarts wiki.js forever service
  • update.sh is fully functional, HOWEVER, it does not get called automatically when GitHub is updated
    • Possible issue with GitHub WebHook, or endpoint configuration
    • Please test in the following fashion:
    • NEW: the update.sh script has been copied to the JS controller directory
      • The live server is now responding to the WebHook
      • The server pulls from GitHub automatically
      • The wiki.js forever service appears to crash, does not restart, just stops

Version 0.0.8 - Sat 16 Nov.

About

BYU Class Wiki

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •