mirror of
https://github.com/sony/sonyflake.git
synced 2026-01-08 12:01:09 +00:00
20 lines
375 B
Markdown
20 lines
375 B
Markdown
# Example
|
|
|
|
This example runs Sonyflake on AWS Elastic Beanstalk.
|
|
|
|
## Setup
|
|
|
|
1. Build the cross compiler for linux/amd64 if using other platforms.
|
|
|
|
```bash
|
|
cd $GOROOT/src && GOOS=linux GOARCH=amd64 ./make.bash
|
|
```
|
|
|
|
2. Build sonyflake_server in the example directory.
|
|
|
|
```bash
|
|
./linux64_build.sh
|
|
```
|
|
|
|
3. Upload the example directory to AWS Elastic Beanstalk.
|