Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tic Tac Toe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pemfung Fun
Tic Tac Toe
Commits
4c2049e0
Verified
Commit
4c2049e0
authored
Mar 4, 2021
by
Muhammad Ariq Basyar
Browse files
Options
Downloads
Patches
Plain Diff
improved README
added haskell stack installation on README.md
parent
8cf2e4b3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-5
7 additions, 5 deletions
README.md
with
7 additions
and
5 deletions
README.md
+
7
−
5
View file @
4c2049e0
...
...
@@ -44,25 +44,27 @@ algorithm, by theory, every match is either draw or the bot is the winner.
git clone https://gitlab.cs.ui.ac.id/pemfung-fun/tic-tac-toe.git
```
2.
Install
[
aws-sam-cli
](
https://pypi.org/project/aws-sam-cli/
)
2.
Install
[
haskell stack
](
https://github.com/commercialhaskell/stack/tree/master/doc
)
3.
Install
[
aws-sam-cli
](
https://pypi.org/project/aws-sam-cli/
)
```shell
pip install aws-sam-cli
```
3
.
Build the project
4
.
Build the project
```shell
make
```
4
.
Unzip
`build/function.zip`
and move to project's root folder
5
.
Unzip
`build/function.zip`
and move to project's root folder
```shell
unzip build/function.zip
```
5
.
Run this
[
FaaS
](
https://en.wikipedia.org/wiki/Function_as_a_service
)
locally
6
.
Run this
[
FaaS
](
https://en.wikipedia.org/wiki/Function_as_a_service
)
locally
```shell
sam local start-api --host 127.0.0.1 --port 3000
...
...
@@ -71,7 +73,7 @@ algorithm, by theory, every match is either draw or the bot is the winner.
> see [the docs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-start-api.html)
for more options.
6
.
Now you can try to POST something like this
7
.
Now you can try to POST something like this
```shell
curl -v\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment