{"id":17336699,"url":"https://github.com/ilyakatz/werkd","last_synced_at":"2025-10-12T01:48:36.604Z","repository":{"id":18910074,"uuid":"22128680","full_name":"ilyakatz/werkd","owner":"ilyakatz","description":"Where creative folks come to shmooze","archived":false,"fork":false,"pushed_at":"2014-07-23T02:23:42.000Z","size":2112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T18:07:23.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"werkd.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilyakatz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-23T02:23:05.000Z","updated_at":"2014-07-23T02:26:45.000Z","dependencies_parsed_at":"2022-08-19T15:00:30.217Z","dependency_job_id":null,"html_url":"https://github.com/ilyakatz/werkd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilyakatz/werkd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyakatz%2Fwerkd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyakatz%2Fwerkd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyakatz%2Fwerkd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyakatz%2Fwerkd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyakatz","download_url":"https://codeload.github.com/ilyakatz/werkd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyakatz%2Fwerkd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273089189,"owners_count":25043676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T15:32:06.883Z","updated_at":"2025-10-12T01:48:31.558Z","avatar_url":"https://github.com/ilyakatz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"WeRKD\n\nWhere creative folks come to shmooze\n\n# Environment setup\n\n1. Install git http://git-scm.com/download/mac\n\n1. Install ruby manager\n   - [rvm](https://rvm.io)\n   - [rbenv](https://github.com/sstephenson/rbenv)\n1. Create ssh keys\n\n    `ssh-keygen`\n\n1. add ssh key to bitbucket\n\n    `cd ~/ws`\n\n    `git clone git@bitbucket.org:katzmopolitan/werkd.git`\n    `\n\n1. Install [command line tools](https://developer.apple.com/downloads/index.action)\n1. Install ruby\n\n    `rvm install ruby 2.0.0`\n\n    or\n\n    `rbenv install 2.0.0`\n\n1. Install [homebrew](http://mxcl.github.io/homebrew/)\n\n## Local dns\n\n1. Add this to /etc/hosts\n\n     `127.0.0.1 localhost`\n\n1. (optional) Git GUI http://www.sourcetreeapp.com/download/\n1. Set up [heroku environment](https://toolbelt.heroku.com/)\n\n\n## Datastore\n\n1. Set up postgres\n\n   `brew install postgres`\n\n   `createuser werkd_dev --createdb`\n\n   `createuser werkd_test --createdb`\n\n1. Install redis\n\n   `brew install redis`\n\n1. Migrate databases\n\n    `rake  db:migrate`\n\n    `RAILS_ENV=test rake db:migrate`\n\n# Tests\n\nhttps://www.codeship.io/projects/4271\n\n## Test locally\n\n1. Install spring\n\n    `gem install spring`\n\n1. Install bundler\n\n    `gem install bundler`\n\n1. Install gems\n\n    `bundle install`\n\n1. Install phontom.js (for JS testing)\n\n    `brew install phantomjs`\n\n1. Run tests\n\n    `spring cucumber features`\n\n    `spring rspec spec`\n\n    `bundle exec guard-jasmine --server-timeout=90 -t 30000`\n\n# In the wild\n\nYou can access your server from the outside world:\n\n1. gem install proxylocal\n\n## Heroku prerequisites\n\n- Add heroku remote repostory\n\n`git remote add heroku git@heroku.com:werkd.git`\n\n2. proxylocal 5000 --host \\`scutil --get LocalHostName | perl -ne 'print $_ if s/(.*)/\\L$1/'\\`\n\n# Work flow\n\n1. Open terminal.app\n2. cd ws/werkd\n3. Pull the latest code from git repository\n\n\t`git pull`\n\n4. Make sure that all libraries are installed\n\n    `bundle install`\n\n5. Migrate database changes\n\n    `rake db:migrate`\n\n6. Stop server if already running\n\n    `open window where foreman is running`\n    `Cntrl-C`\n\n7. Start server\n\n\t`foreman start`\n\n8. Open local version\n\n    `http://localhost:5000`\n\n9. Write your code and do your magic!\n\n10. Push your changes back to the repository\n\n    `git add .`\n\n\t`git commit -m \"brief message about what changes your made\"`\n\n\t`git push`\n\n    1. If you get a message\n\t` ! [rejected]        HEAD -\u003e master (non-fast-forward)`\n\tThat means that someone already made changes upstream (bitbucket) and you need to pull then with `git pull`\n\t2. If there are no conflicts, do `git push` again\n\n# To preview emails in the browser\n\n1. Follow instructions to bring up the server\n2. Go to\n\n    `http://localhost:5000/email_preview`\n\n# Other git commands\n\n## When a file is deleted\n\ngit rm [path to file]\n\n## When you want to reset all changes made to a file since last commit\n\ngit checkout [path to file]\n\nInstall sublime\n- If you have sublime, createa link\n\nln -s /Applications/Sublime\\ Text\\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime\n\n- Open ~/.bash_profile and add this line\n\nexport EDITOR=/usr/local/bin/sublime\n\n- Close terminal window and restart it\n-\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyakatz%2Fwerkd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyakatz%2Fwerkd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyakatz%2Fwerkd/lists"}