Skip to content

DigitalEmpowermentATX/DECAwebsite

Repository files navigation

DECAwebsite

A website that delivers information about digital inclusion training, events, and locations in the Austin area

Development

Nanobox

If you want an environment that is similar to the production environment on the server, you can use Nanobox! Nanobox will setup the database, python dependencies and networking for you. For documentation on nanobox visit https://docs.nanobox.io

Downloading Nanobox

It is highly recommended that you use the VirtualBox version of Nanobox Download Nanobox from https://nanobox.io

Local Development

Running Nanobox

Head to the project directory

cd digital_inclusion

If you are using Windows, it is recommended that you switch the file-system used by nanobox to native

nanobox configure set mount-type native

You will need to add the local dns

nanobox dns add local django.local

You will then need to build the runtime so that the database/requirements are installed. You will need to do this everytime your requirements.txt file changes

nanobox build-runtime

Migrate the database

nanobox run python manage.py migrate

Run the application

nanobox run python manage.py runserver 0.0.0.0:8000

You should be able to access the website from http://django.local:8000

Deployment

Local Deployment (dry-run)

Head to the project directory

cd digital_inclusion

If you are using Windows, it is recommended that you switch the file-system used by nanobox to native

nanobox configure set mount-type native

You will need to add the dry-run dns

nanobox dns add dry-run django.dry

Deploy application

nanobox deploy dry-run

The app should be available at http://django.dry

Live Deployment

Head to the project directory

cd digital_inclusion

If you are using Windows, it is recommended that you switch the file-system used by nanobox to native

nanobox configure set mount-type native

You will need login to nanobox

nanobox login

Add the deca remote

nanobox remote add deca

Deploy application

nanobox deploy

The app should be available at https://deca.nanoapp.io or the live domain of the application

About

A website that delivers information about digital inclusion training, events, and locations in the Austin area

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •