GithubHelp home page GithubHelp logo

utopianf / mapkicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evt-mob-docker/mapkicker

0.0 1.0 0.0 147 KB

Dockerfile 1.62% TSQL 2.79% Go 69.73% JavaScript 1.02% HTML 2.76% Vue 22.08%

mapkicker's Introduction

mapkicker

Environment setup

You need to have Go, Node.js, Docker, and Docker Compose (comes pre-installed with Docker on Mac and Windows) installed on your computer.

Verify the tools by running the following commands:

go version
npm --version
docker --version
docker-compose --version

Start in development mode

In the project directory run the command (you might need to prepend it with sudo depending on your setup):

docker-compose -f docker-compose-dev.yml up

This starts a local MySQL database on localhost:3306. The database will be populated with test records from the init-db.sql file.

Navigate to the server folder and start the back end:

cd server
go run server.go

The back end will serve on http://localhost:8080.

Navigate to the webapp folder, install dependencies, and start the front end development server by running:

cd webapp
npm install
npm start

The application will be available on http://localhost:3000.

Start in production mode

Perform:

docker-compose up

This will build the application and start it together with its database. Access the application on http://localhost:8080.

mapkicker's People

Contributors

nobishino avatar

Watchers

James Cloos 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.