This project was bootstrapped with Create React App.
To run: Clone the repository.
Make sure to have Node JS installed (see below).
Navigate to /flask-scheduling server
and run the command
python models.py
python flaskApp.py
Navigate to /react-app
and run the command
npm install
npm start
View app on http://localhost:3000/login
For development, you will only need Node.js installed on your environement. Please use the appropriate Editorconfig plugin for your Editor (not mandatory).
Node is really easy to install & now include NPM. You should be able to run the following command after the installation procedure below.
$ node --version
v0.10.24
$ npm --version
1.3.21
You will need to use a Terminal. On OS X, you can find the default terminal in
/Applications/Utilities/Terminal.app
.
Please install Homebrew if it's not already done with the following command.
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
If everything when fine, you should run
brew install node
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
Just go on official Node.js website & grab the installer.
Also, be sure to have git
available in your PATH, npm
might need it.
In order to get started developing, you'll need to do a few things first.
- Install all of the
node_modules
required for the package. Depending on your computer's configuration, you may need to prefix this command with asudo
.
npm install
or
sudo npm install
- Run the start command to get the project off the ground. This command will not only build your JS files using the Webpack
dev-server
, but it will also auto-compile your Stylus files on every.styl
file save.
npm start
- Head over to the host link to view the app!