Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 892 Bytes

README.md

File metadata and controls

48 lines (37 loc) · 892 Bytes

nasalbum

Setup Django environment

Install Python and pip for your environment.

git clone [email protected]:Craterdome/nasalbum.git
cd nasalbum
mkvirtualenv venv  # install env wherever you prefer
venv\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser # fill this out
python manage.py import_images --path=<PROJECT_PATH>\images
python manage.py runserver

Testing Django

http://localhost:8000/

http://localhost:8000/swagger/

http://localhost:8000/admin/

python manage.py test

Setup Vue App

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test