1.0.0 • Published 5 years ago

csci-server v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

The Three Headed Lizard

This is a project that allows drone remote access game play and a hide and global seek with users.

Contribution

To contribute, please clone the repository locally and create a seperate branch. There are no rule restrictions on the remote repository master branch.

  $ git clone https://github.com/Three-Headed-Lizards
  $ git checkout -b <branch / feature name>

Update from the remote

  $ git fetch origin master # Update to pull from remote branches (pull does this)
  $ git pull --rebase # rebase, no merge

Push to repository (update first)

  $ git add . && git commit -m "<your message>"
  $ git push origin <branch name>

Getting Started

All environment variables are locaed in a file called .env, please create this file and add the following:

DB_USER=<database username>
DB_PASSWORD=<database password>
DB_HOST=localhost
DB_PORT=<port number (5432 default psql)>
DB_DATABASE=camera_game_db (if you use the same database model)

Next, run the init.sql file

If you deply to heroku, run

  $ cat init.sql | heroku pg:psql -a <app name>

Finally, run the server

  $ npm install # install node dependencies
  $ node server.js >> /var/log/camera_game_server.log # run the server

Built With

  • nodejs - Dependency Management
  • heroku - Used to deploy the app

Versioning

v0.0.1-wip

Authors

  • Zixin Chen - Team Member
  • Connor Ely - Team Member
  • Theodorus James Lincke Ⅴ 💀 👻 👽 🤖 💩 - Team Member
  • Layan Makhtoum - Team Member
  • Richard Dudley Ortecho 🤔 - Team Member
  • Ryan Horn - Team Member

License

This project is licensed under the MIT License