Giter Site home page Giter Site logo

nomadable's Introduction

Description

This is a source code of https://nomadable.net

Installation Guide

You can run Nomadable on your local machine. Please download the repository and do the following steps.

1. Install Next.js

Install the Next.js.

$ npm install next

2. Rename env file

There is a file named ".env.example" in the root directory. Rename it to ".env.local".

3. Add variables to env file

Not all variables in .env.local file are needed for the app to run. However, at least the accesss token of MapBox, Google OAuth Client ID, and Google API key are required. Please make your account at https://www.mapbox.com and generate the access token there. Also, create your project on https://console.cloud.google.com and generate Google OAuth Client ID & Google API key. After you generated them, set them in .env.local file.

# Google OAuth Client ID & Secret
GAPI_CLIENT_ID=<YOUR_GAPI_CLIENT_ID>
GAPI_CLIENT_SECRET=<YOUR_GAPI_CLIENT_SECRET>

# Google API Key
GAPI_KEY=<YOUR_GAPI_KEY>

# MapBox Access Token
MAPBOX_ACCESS_TOKEN=<YOUR_ACCESS_TOKEN>

4. Run MongoDB process

If you haven't installed MongoDB on your machine, install it and run a mongod process on your local machine. For more guidance on how to run a mongod process, please read the following instruction. https://www.mongodb.com/docs/manual/tutorial/manage-mongodb-processes/

5. Run the app

Now the app is ready to be run. Please run the following command on terminal and access http://localhost:3000 from a browser.

$ npm run dev

nomadable's People

Contributors

uzura89 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.