
- On branch codespace, click code and then click “new with options” (don’t use branch develop because it’s protected branch)

- Click create codespace and make sure the ‘dev container configuration’ have HH-SERVER
- Wait for the codespace server to be created

- After the codespace server has been created it will ask mysql password to make sure the mysql container successfully ran.
- check if the mysql container has been ran
docker ps
- In case the mysql container failed to run
./install.sh
and then it will ran container mysql on port 3306 redis on 6379 and memcached on 11211
- Upload the dump file and restore the mysql database
mysql -h 127.0.0.1 -u root -p <database_name> < dump.sql
- You can also go to another branch using git checkout
- Ran the rails server, sidekiq and webdev server
bundle exec rails s puma
bundle exec sidekiq
./bin/webpack-dev-server