Commonwealth Skateboarding Website & Administrative Backend
Built for tracking member information, camps, events and publishing a blog. Integrations with Slack, Square, Stripe, Google, and other tools. It's becoming very purpose specific, but it may be of use for other businesses that have membership models (gyms, clubs, hacker spaces, etc).
Happily accepting bug reports.
- homebrew
- java
- mysql
- typesafe-activator
- sass
- nodejs
-
gem install sass
* -
brew install mysql
-
brew tap homebrew/services
-
brew services start mysql
-
mysql -uroot
CREATE DATABASE cw;
GRANT ALL PRIVILEGES ON cw.* TO cw@localhost IDENTIFIED BY ‘sterlingarcher';
exit;
-
brew install typesafe-activator
*If you're getting permissions issues, add the following to your ~/.bashrc
file:
export GEM_HOME=~/.gem
export GEM_PATH=~/.gem
From within the project directory, in Terminal, type activator run
.
Application will be running on http://localhost:9000
Note: To access the admin interface, you will need to grant administrative permissions to your personal user account. The first account must be bootstrapped with permissions to access the permissions administrative interface. This can be accomplished by running the following commands AFTER you have logged in and been denied permissions at http://localhost:9000/admin:
-
mysql -uroot
-
INSERT INTO `users_security_role` (`users_id`, `security_role_id`) VALUES (1, 2), (1, 5), (1, 6), (1, 7), (1, 8);
-
exit;