Skip to content

outpark/webapp-one

Repository files navigation

Webapp-ONE

First iteration of the Hack NYU platform http://hack-nyu.appspot.com

##Pre-reqs

##Installation: Mac/Linux and Windows

  1. Make sure you have python installed
  2. Install pip, git and npm
  3. Clone with git: https://github.com/hacknyu2016/webapp-one or git@github.com:hacknyu2016/webapp-one.git
  4. Setup flask requirements - in the root folder run:
  • Mac/Linux: python setup.py
  • Windows:
    • Make a directory in ./main called pylibs
    • run the following in the ./main folder: pip install -t ./pylibs -r ./../requirements.txt
  1. Install node modules: npm install
  2. Install bower components: bower install
  3. Run Gulp to enable livereload and css generation from .less: gulp
  4. Run app engine server: You can do this from within PyCharm:
  • Run > Edit Configurations... > Add (+): App Engine Server as a configuration
  • Set the working directory as ./main
  • Fix the path to the Google App Engine SDK you downloaded earlier
    • On Mac: /usr/local/google_appengine
    • On Linux: wherever you extracted the .tar.gz
  • Run your new configuration Note: You can also run from the terminal by running dev_appserver.py '/address-to-project-dir/main'
  • dev_appserver.py is found in google_appengine folder

##Installation: Windows Follow steps 1-4 from Mac/Linux installation

##Contributing to the Project

  1. After you have cloned the git and set up the environment, create a new branch for the feature/fix you are working on: git checkout -b feature-projects
  2. Add your features and push your branch frequently
  3. git add .
  4. git commit -m 'e.g. Added templates'
  5. git push -u origin feature-projects
  6. When you are ready to merge into the master branch
  7. git pull (you may have to fix conflicts)
  8. git add .
  9. git commit -m 'Name of your commit - e.g. Added feature-projects'
  10. git push -u origin master

###Tips

  • To add scripts for components edit the gulpfile scripts array as gulp injects-scripts upon running Lots more to come...

About

First iteration of the Hack NYU platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published