Skip to content

Astrohackers-TW/flip-astrocards-over

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flip Astrocards Over!

license-code: MIT license-text: CC BY 4.0 Django

以卡牌遊戲的方式吸引群眾為天文相關的開源Python套件建檔的平台(Django專案)。

專案開發共筆

給協作者的專案開發須知

開發環境建立

本專案以Python 3.6, Django 1.11和PostgreSQL開發,並以Git/GitHub控制程式碼版本,請協作者依照以下步驟建立開發環境:

  • 安裝Python 3.6版的Miniconda

  • 安裝版本控制工具Git (Linux; Windows; Mac OSX),並設定使用者的Email及名稱

  • 安裝PostgreSQL資料庫 (步驟說明待補)

  • conda create建立此專案的開發環境

    # 創建名為astrocardsEnv的虛擬環境並預先在該環境中安裝Django
    conda create -n astrocardsEnv python=3.6
    # 啟用並進入虛擬環境astrocardsEnv
    source activate astrocardsEnv
  • 《Flip Astrocards Over》的GitHub repository 以git clone指令複製一份專案原始碼到自己的電腦中,並以pip install指令安裝所需Python套件

    git clone https://github.com/Astrohackers-TW/flip-astrocards-over.git
    cd flip-astrocards-over
    pip install -r requirements/local.txt
  • 啟動開發伺服器

    # 輸入完以下指令後,在瀏覽器輸入 http://127.0.0.1:8000 或是 http://localhost:8000 即可在local端瀏覽此Django專案所建立的網頁
    python manage.py runserver

flip-astrocards-over專案的目錄結構概要

為了讓專案更為結構化且符合實務, 此專案的目錄結構採用Django專案範本產生器Cookiecutter DjangoTwo Scoops of Django 1.11一書所偏好的project layout, 而非Django project預設的目錄結構。 flip-astrocards-over專案根目錄包含以下子目錄及檔案:

規範

About

以卡牌遊戲的方式吸引群眾為天文相關的開源Python套件建檔的平台(Django專案)。

Resources

License

MIT, CC-BY-4.0 licenses found

Licenses found

MIT
LICENSE-CODE
CC-BY-4.0
LICENSE-TEXT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages