GithubHelp home page GithubHelp logo

peteroid / skygear-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skygeario/skygear-server

0.0 3.0 0.0 1.68 MB

Skygear Server - Open-source Mobile Backend, making app development easier.

Home Page: https://skygear.io

License: Apache License 2.0

Makefile 0.35% Go 98.84% Shell 0.68% Augeas 0.11% HTML 0.02%

skygear-server's Introduction

Skygear Logo

Skygear Server is a cloud backend for making web and mobile app development easier. https://skygear.io

Build Status

Getting Started

To get started, you need to install Skygear Server and include one of the SDKs into your app. You can see detailed procedure at the getting started guide at https://docs.skygear.io/server/guide.

The fastest way to get Skygear Server running is to download the runnable binaries of the latest release at https://github.com/SkygearIO/skygear-server/releases

You can also sign up the Skygear Hosting at the Skygear Developer Portal at https://portal.skygear.io

Connect your app to Skygear Server

Skygear provides SDKs for all the major platforms. Please refer to the guide for each platform to learn how to connect your app to Skygear Server: [iOS] (https://docs.skygear.io/ios/guide) / Android / JavaScript

Documentation

The full documentation for Skygear Server is available on our docs site. The Skygear Server guide is a good place to get started.

Can I Access The Docs Offline?

The documentation repository is public and all the content files are in markdown. If you'd like to keep a copy locally, please do!

Support

For implementation related questions or technical support, please refer to the Stack Overflow community.

If you believe you've found an issue with Skygear Server, please feel free to report an issue.

Configuration

Skygear is configure via environment variable. It also support .env file for easy development.

The minimal configuration will be provide API_KEY and MASTER_KEY

$ API_KEY=changeme MASTER_KEY=secret ./skygear-server

Check out .env for configuration reference. Once you configure the .env correctly, you can simple kick start the server by following.

$ ./skygear-server

How to contribute

Pull Requests Welcome!

We really want to see Skygear grows and thrives in the open source community. If you have any fixes or suggestions, simply send us a pull request!

Dependencies

  • Golang 1.6
  • PostgreSQL 9.5 with PostGIS extension
  • Redis
  • libsodium, zeromq and czmq if using ZeroMQ as a plugin transport

If using Mac OS X, you can get the ZeroMQ dependencies using Homebrew:

$ brew install libsodium zeromq czmq

Building from source

$ go get github.com/Masterminds/glide
$ make vendor
$ # export WITH_ZMQ=1 # If you need ZeroMQ support
$ make build

Testing

  1. Create a PostgreSQL database called skygear_test with PostGIS enabled:
psql -h db -c 'CREATE DATABASE skygear_test;' -U postgres
psql -h db -c 'CREATE EXTENSION postgis;' -U postgres -d skygear_test
psql -h db -c 'CREATE EXTENSION citext;' -U postgres -d skygear_test
  1. Test case assume the 127.0.0.1 have access to skygear_test, add the following to pg_hba.conf:
host    all             all             127.0.0.1/32            trust
  1. Install golang packages required for testing (check .travis.yml for the list).

  2. Run go test github.com/skygeario/skygear-server/pkg/....

You can also run the test suite in Docker:

$ make vendor WITH_DOCKER=1  # install dependencies
$ make before-docker-test    # start dependent services
$ make test WITH_DOCKER=1    # run test
$ make after-docker-test     # clean up docker containers

License & Copyright

Copyright (c) 2015-present, Oursky Ltd.
All rights reserved.

This source code is licensed under the Apache License version 2.0 
found in the LICENSE file in the root directory of this source tree. 
An additional grant of patent rights can be found in the PATENTS 
file in the same directory.

skygear-server's People

Contributors

rickmak avatar cheungpat avatar limouren avatar garywahaha avatar ben181231 avatar rockychan avatar royuen avatar chpapa avatar louischan-oursky avatar david90 avatar tensiuyan avatar

Watchers

James Cloos avatar Peter Chow avatar  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.