Coder Social home page Coder Social logo

annajiat / amy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carpentries/amy

0.0 1.0 0.0 18.05 MB

A web-based workshop administration application built using Django.

License: MIT License

Python 84.36% HTML 14.12% CSS 0.16% Makefile 0.15% JavaScript 1.21%

amy's Introduction

AMY is a web-based workshop administration application for The Carpentries and related projects. Its target audience is workshop coordinators, most of whom are non-programmers, who need to keep track of what workshops are being arranged, when they're supposed to occur, who's teaching what, and so on.

AMY is built using Django with Python 3, with a bit of Javascript and other things thrown in. If you would like to help, please read:

Please check with us or open an issue before starting work on new features.

Getting Started

  1. Clone the repository:

    $ git clone https://github.com/swcarpentry/amy.git
    $ cd amy
    
  2. Install Django and other dependencies:

    $ python -m pip install --user -r requirements.txt
    

    If you're experienced Python programmer, feel free to create a Python3-compatible virtualenv for AMY and install dependencies from requirements.txt.

  3. Install yarn, the tool that manages AMY's JavaScript and CSS dependencies. You can install it here.

  4. Set up your local database with fake (development-ready) data with:

    $ make dev_database
    
  5. Create an administrator account:

    $ python3 manage.py createsuperuser
    
  6. Start a local Django development server by running:

    $ make serve
    

    Note: this also installs front-end dependencies for AMY, including jQuery and Bootstrap (full list here).

  7. Open http://127.0.0.1:8000/workshops/ in your browser and start clicking.

    Use the administrator account that you created.

Upgrading

  1. Update the code:

    1. Get the list of changes:

      $ git fetch
      
    2. Look for the newest tag:

      $ git tag -n
      
    3. Get the code from the newest tag:

      $ git checkout tags/<tag_name>
      
  2. Update dependencies front-end and back-end dependencies:

    $ make upgrade
    
  3. (Optional) make fresh development-ready database:

    $ make dev_database
    
  4. Run database migrations:

    $ python3 manage.py migrate
    
  5. Enjoy your new version of AMY:

    $ make serve
    

amy's People

Contributors

pbanaszkiewicz avatar gvwilson avatar chrismedrela avatar aditnryn avatar wking avatar rbeagrie avatar sburns avatar neon-ninja avatar maneesha avatar drio avatar marwahaha avatar shapiromatron avatar shubhsingh594 avatar jduckles avatar carlosp420 avatar erinbecker avatar cudevmaxwell avatar nikhilweee avatar prerit2010 avatar darshan95 avatar fmichonneau avatar annajiat avatar dependabot[bot] avatar askingalot avatar timtomch avatar tracykteal avatar dheles avatar elizabethwilliams8 avatar

Watchers

James Cloos avatar

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.