Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Latest commit

 

History

History
84 lines (53 loc) · 2.23 KB

README.md

File metadata and controls

84 lines (53 loc) · 2.23 KB

GeekApk Rust Server

Travis Status Rocket Powered APIs Android UI

Pure android market&community

🔮 GeekApk API Server written in Rust

Web framework used: Rocket

ORM: Diesel

GeekApk Organization Service

Installation

Compiling & running

Get Rust Toolchian at rust-lang.org

git clone https://github.com/geekapk/GeekApkR.git&&cd GeekApkR
cargo build

Usage

For Development

Database config priority: DATABASE_URL, ga_username(=geekapk)&ga_password(=dolphins), geekapk.ini

export ga_username=#(YOUR PG USER FOR GEEKAPK)
export ga_password=#(PASSWORD FOR GEEKAPK DATABASE USER)
cargo build
./target/debug/geekapkd

Development

❤️ This application made use of the Rocket Framework and the Diesel ORM

🌝👍 Contributions are welcome, check Android UI for feature designment.

Docs

See GeekApk Dev or GeekApkR Wiki

🚀 Testing

Prepare for Postgres database:

CREATE USER geekapk WITH PASSWORD 'dolphins';

CREATE DATABASE geekapk_db;

GRANT ALL PRIVILEGES ON DATABASE geekapk_db TO geekapk;
# Prepare for environment
cargo test

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors