-
Setting MySQL
$ mysql -u {MYSQL_USER_NAME} < data/sql/mysql_createdb.sql $ mysql -u {MYSQL_USER_NAME} vimman < data/sql/mysql_schema.sql
-
Execute to command of below.
$ pip install -r requirements.txt $ cp src/config/databases.py.sample src/config/databases.py $ python src/app.py
-
Access to
localhost:5000
.
ex)localhost:5000/questions
Name | Description |
---|---|
DATABASE_URL | Database URL to connection. ex) mysql://root:@localhost/vimman |
SECRET_KEY | Secret key for application |
// .bash_profile
export DATABASE_URL="mysql://root:@localhost/vimman"
export SECRET_KEY="hogefugamogexxxxxxxxxxxxxx..."
- Fork it ( http://github.com/OMOSAN/vimman-api/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request