Giter Site home page Giter Site logo

af12066 / 4sweep-next Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 216 KB

A reconstructed web application from original 4sweep.

Home Page: https://www.4sweep-next.com/

License: GNU Affero General Public License v3.0

JavaScript 37.84% Vue 60.03% Dockerfile 1.15% Makefile 0.98%

4sweep-next's Introduction

4sweep-next

Prerequisites

You can install Node.js which needs to this application via ndenv.

$ ndenv install

Set the following environment variable in ~/.bash_profile, ~/.zshenv or etc.

  • FOURSQUARE_CLIENT_ID: Your OAuth client ID (issues from https://foursquare.com/developers/apps).
  • FOURSWEEP_NEXT_REPOSITORY_URL: 4sweep-next's repository URL (e.g. https://github.com/af12066/4sweep-next).

Launch application

$ npm run dev  # development mode
$ npm run build && npm run start  # production mode

Deployment

Heroku

$ heroku login
$ heroku container:login
$ heroku create
$ heroku container:push web --arg base_url=${YOUR_HEROKU_APP_URL},foursquare_client_id=${FOURSQUARE_CLIENT_ID},repository_url=${FOURSWEEP_NEXT_REPOSITORY_URL}
$ heroku container:release web
$ heroku open

For details, see https://nuxtjs.org/faq/heroku-deployment/ and https://devcenter.heroku.com/articles/container-registry-and-runtime

Build and push Docker image to a repository

$ export BASE_URL=${APP_URL}
$ make build
$ export REPO_URI=${DOCKER_REPOSITORY_URI}
$ make push

License

Copyright (C) 2018 Takuma Hashimoto

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

4sweep-next's People

Contributors

af12066 avatar

Stargazers

 avatar

Watchers

 avatar

4sweep-next's Issues

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.