Augmented reality game development repository. Special International Prize for the Art & Technology Tohoku 2018 contest.
Requirements | Development | Deploy | Built with | Contributors | License |
---|
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
- 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 theDB_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 ofmongodb://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.
Turtuvshin Byambaa 🚇 |
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.
Intelligo game is open-sourced software licensed under the MIT.