Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hexlet-basics/hexlet-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github action status

hexlet-basics

Setup

Requirements

  • make
  • docker
  • ruby = 3.4.5
  • node >= 21

Run

  1. Install system deps
# Ubuntu
make setup-ubuntu

# MacOS
make setup-macos
  1. Run services (pg)
make services-start
  1. Setup app
make setup
  1. Run
make dev # run server

Open https://code-basics.localhost

Admin Access: (login: [email protected], password: password)

  1. Development And Testing
make test # run tests

# load language (course)
make language-load L=php

make sync # sync locales, types, fixtures

Dev Tools

Production

Kube access

# make k8s-macos-setup or make k8s-ubuntu-setup
export TWC_TOKEN=<your token>

Deploy

  • Create new tag via command:

    make next-tag
  • Wait notification about ready tag in Slack channel #sideprojects-code-auto or wait Github Actions

  • Change version in k8s/hb-app-chart/values.yaml and then:

    make -C k8s helm-upgrade-app

TODO

  1. switch to yandex postbox (smtp)
  2. theme switcher
  3. https://github.com/DavidWells/analytics
  4. auth: vk id, yandex id, google id (except ru)
  5. upload course image in admin interface (and remove devicon)
  6. configus => dotenv
  7. Check if yandex.market is used
  8. primary keys: integer = bigint
  9. add rss to blog

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.