All Projects → bcambel → Oss.io

bcambel / Oss.io

Licence: epl-1.0
Developers gathering up

Programming Languages

clojure
4091 projects

OSS.io - Open Source Software Community

Gitter

Build Status

Coverage Status

A Community project for developers, entreprenuers, hustlers.

Development

Create a profiles.clj file in the root folder of the project with the following settings

{:dev  {:env {
			;;twitter settings
			:app-consumer-key ""
			:app-consumer-secret ""
			:user-access-token ""
			:user-access-token-secret ""
			;;github settings
			:client-id ""
			:client-secret ""
}}}

Start a REPL (in a terminal: lein repl, or from Emacs: open a clj/cljs file in the project, then do M-x cider-jack-in. Make sure CIDER is up to date).

In the REPL do

(def sys (startup {:conf "settings.dev.ini"}))

Which will return the system map. It's based on Stuart Sierra's amazing Component lib.

In order to access db session component do a

(:connection (:db sys))

The call to (startup {}) does two things, it starts the webserver at port 10554, . Give them some time to start.

List

License

Copyright © 2017 Bahadir Cambel

Distributed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].