tortuvshin / intelligo-game

Augmented reality game development repository - Art & Technology Tohoku 2018 contest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intelligo Game - Art & Technology Tohoku 2018 contest

All Contributors StackShare

Augmented reality game development repository. Special International Prize for the Art & Technology Tohoku 2018 contest.

Requirements Development Deploy Built with Contributors License

Requirements

Development

Clone repository git clone https://github.com/tortuvshin/intelligo-game.git

Install dependencies npm install

Start up your game by running node node app.js

Web browser this link to test the game.

Compile the sass npm run build-css

Watch the sass npm run watch-css

Deploy

Deploy to Heroku

Deploy to Heroku

  • Download and install Heroku Toolbelt
  • In terminal, run heroku login and enter your Heroku credentials
  • From your app directory run heroku create
  • Run heroku addons:create mongolab. This will set up the mLab add-on and configure the DB_URI environment variable in your Heroku app for you.
  • Lastly, do git push heroku master. Done!

Note: To install Heroku add-ons your account must be verified.


  • Open mlab.com website
  • Click the yellow Sign up button
  • Fill in your user information then hit Create account
  • From the dashboard, click on ⚡Create new button
  • Select any cloud provider (I usually go with AWS)
  • Under Plan click on Single-node (development) tab and select Sandbox (it's free)
  • Leave MongoDB version as is - 2.4.x
  • Enter Database name* for your web app
  • Then click on ⚡Create new MongoDB deployment button
  • Now, to access your database you need to create a DB user
  • Click to the recently created database
  • You should see the following message:
  • A database user is required to connect to this database. Click here to create a new one.
  • Click the link and fill in DB Username and DB Password fields
  • Finally, in .env instead of mongodb://localhost:27017/test, use the following URI with your credentials:
  • db: 'mongodb://USERNAME:PASSWORD@ds027479.mongolab.com:27479/DATABASE_NAME'

Note: As an alternative to mLab, there is also Compose.

Built with

Contributors

Turtuvshin Byambaa
Turtuvshin Byambaa

🚇 ⚠️ 💻
Enkhbayar Doljinsuren
Enkhbayar Doljinsuren

🚇 ⚠️ 💻

You may contribute in several ways like creating new features, fixing bugs, improving documentation and examples or translating any document here to your language. Find more information in CONTRIBUTING.md.

License

Intelligo game is open-sourced software licensed under the MIT.

⬆ back to top

About

Augmented reality game development repository - Art & Technology Tohoku 2018 contest

License:MIT License


Languages

Language:CSS 63.7%Language:JavaScript 35.3%Language:HTML 1.0%