GithubHelp home page GithubHelp logo

roryscot / app_rentice Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.46 MB

An app to facilitate and organize teachers and students for various tutoring services

Python 1.64% Shell 0.12% JavaScript 59.05% HTML 2.19% CSS 36.99%

app_rentice's Introduction

App~rentice WebApp

Live Environments

AWS app name: app-rentice

Database Setup

Local Machine

  1. Install postgres
  2. Create a database - "App_rentice"
  3. Grant all permissions to database to your user
  4. Edit .env.dev to include your database username & password

Running

Local Machine

Development Settings

  1. frontend/ yarn start
  2. Install required packages: . build.sh
  3. Start server on local machine: . run.dv.sh
  4. Open in browser localhost:8000

Production Settings

  1. frontend/ yarn build
  2. Install required packages: . build.sh
  3. Collect static files for django server: python manage.py collectstatic
  4. Start server on local machine: . run.loc.prod.sh
  5. Open in browser localhost:8000

Deploy

  1. Install Elastic Beanstalk cli: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html
  2. Configure Elastic Beanstalk cli: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html
    1. Select a default region: 1) us-east-1 : US East (N. Virginia)
    2. Provide your aws-access-id and aws-secret-key
    3. Select an application to use: Select (Do NOT Create) redflag-app
  3. Run python manage.py collectstatic to move the built files into the satic directory
  4. Deploying: eb deploy [AWS env. name]

Guidelines

  • If adding new packages in import, run pipreqs . --force to update requirements.txt. Do not modify requirements.txt manually.

app_rentice's People

Watchers

James Cloos avatar

app_rentice's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.