Giter VIP home page Giter VIP logo

seattle-theatre-site's Introduction

seattle-theatre-site

A site for finding theatrical productions in Seattle, and educating oneself about theatre art both generally, and as it pertains to the Seattle scene.

Notes:

Currently the jsx build is done by hand. The concept is that the ./public/ folder will be generated by the build. However, the server code will make references to the output of the generated code. So it's basically impossible to run the thing before running the build.

Database:

I'm using mysql via the XAMPP project. To create the table structure assumming XAMPP is installed on a mac with all default settings, navigate to the "db" folder, then:

/Applications/xampp/xamppfiles/bin/mysql -u root
mysql> connect seattle_theatre;
mysql> source create_tables.sql
mysql> source snapshot.sql

I've symlinked mysql to a folder on the path, so I can just do "mysql" from the command-line and get to it. The destination database should be an empty database. If you have XAMPP installed, you can create one with phpMyAdmin.

Note to self: I've established a convention of commenting the snapshot date at the top of the snapshot sql file. This will enable tracibility between db structure and a snapshot of seed data via github.

Build Stuff, So Far:

First, install gulp and react-tools as global dependencies:

npm install -g gulp

Then install all local dependencies:

npm install

To build:

gulp build

To build and watch for changes:

gulp

Running the Server

From the root folder of the repository:

node dist/private/server/server.js

seattle-theatre-site's People

Contributors

blendersfun avatar theazureshadow avatar

Watchers

 avatar James Cloos avatar  avatar

seattle-theatre-site's Issues

Clean up build

Most dependencies should be able to be installed by npm install. Generally there's less reason to have non-top-level dependencies installed globally, as is recommended in the README. I think jsx probably makes sense as a global rather than a local dependency, but it's probably still not necessary.

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.