Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop' of github.com:TeamBlackCrystal/ayuskey into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
sousuke0422 committed Aug 8, 2022
2 parents 48b42f9 + e87e316 commit 2f6a0c1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .coder/coder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 0.2
workspace:
type: docker
specs:
docker:
image:
value: index.docker.io/codercom/enterprise-base:ubuntu
container-based-vm:
value: true
configure:
start:
value:
- name: "Create organization directory"
command: "mkdir -p /home/coder/work/teamblackcrystal"
- name: "Add GitHub to known hosts"
command:
"sudo ssh-keyscan -H github.com >> /home/coder/.ssh/known_hosts"
- name: "Clone Git Project"
command: "git clone [email protected]:TeamBlackCrystal/ayuskey.git"
continue-on-error: true
directory: /home/coder/work/teamblackcrystal
- name: "install node.js"
command: |
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt update
sudo apt install -y nodejs redis postgresql
- name: "enable yarn"
command: "sudo corepack enable yarn"
- name: "yarn install"
command:
"yarn install"
directory: /home/coder/work/teamblackcrystal/ayuskey
- name: "setup ayuskey"
command: |
cp .config/example.yml .config/default.yml
sed -i -e 's/url: https:\/\/example.tld\//url: http:\/\/localhost:3000/' .config/default.yml
directory: /home/coder/work/teamblackcrystal/ayuskey

0 comments on commit 2f6a0c1

Please sign in to comment.