Skip to content

c4se-jp/martian_imperial_year_table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test

帝國火星曆

https://martian-imperial-year-table.c4se.jp/

Abbreviation

  • grdt : GregorianDateTime
  • juld : JulianDay
  • delta_t : JulianDay.delta_t
  • tert : TerrestrialTime
  • mrls : Mars Ls (Areocentric Solar Longitude)
  • mrsd : MarsSolDate
  • imsn : ImperialSolNumber
  • imdt : ImperialDateTime

CONTRIBUTING

Requirements :

  • Python 3
  • Docker
  • gcloud (only for deploy)

See ./tasks.py help.

Start development.

./tasks.py clean build sh
./tasks.py start

Dev server : http://localhost:5000/ API spec : http://localhost:5000/apidocs/

When the file changed you may need to build UI files by ./tasks.py build.

Before deploy & merge you should pass ./tasks.py format test.

Deploy

GitHub に Google Cloud Build が連携してあり deploy する.

main branch に push すると staging に deploy する.

Staging is https://martian-imperial-year-table.staging.c4se.jp/ (may be broken).

production と云ふ tag を push すれば本番に deploy する.