Skip to content

atishpatel/Gigamunch-Backend

Repository files navigation

Gigamunch!

Setup

The following programs need to be installed:

Do the following in your .bashprofile or .zshrc file:

  • add GOPATH
    • recommended ~/Development/go
  • add to PATH
    • .
    • /usr/local/mysql/support-files/
    • $GOPATH/bin
    • ~/Development/protoc/bin

Setting up for web development:

  • run yarn install
    • in ./
    • in ./admin/app
    • in ./subserver/web
  • go get ./cookapi
    • if deploying, then copy paste the FIX code in main to the correct folder
  • go get ./server
  • go get ./admin
  • go get ./subserver
  • app build proto
  • add private folder
  • setup mysql servers
    • run sudo mysql_secure_installation
    • login to mysql with sudo mysql -uroot
    • run following in mysql
      • uninstall plugin validate_password;
      • CREATE USER 'server'@'localhost' IDENTIFIED BY 'gigamunch';
      • GRANT ALL PRIVILEGES ON *.* To 'server'@'localhost';
      • copy, paste, and run ./misc/setup.sql

To run local development:

  • app serve (admin | server | sub)

App Engine Architecture

Here are the modules:

  • default:
    • In the 'server' folder.
    • This module serves landing page.
  • admin:
    • In the 'admin' folder.
  • sub:
    • In the 'subserver' folder.
  • cookapi:
    • In the 'cookapi' folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published