{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"never","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Installation & Quick Start","type":"basic","slug":"quick-start","excerpt":"","body":"Glim framework source resides in pypi which is the most popular python repository service. You can download glim and create a simple app by the following;\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"# create a project folder\\nmkdir project\\ncd project\\n\\n# create & activate virtualenv\\nvirtualenv venv\\n. venv/bin/activate\\n\\n# install glim from pypi\\npip install glim\\n\\n# prints glim help\\nglim --help\\n\\n# create a new app\\nglim new\\n\\n# start the app\\nglim start\\n\",\n \"language\": \"shell\"\n }\n ]\n}\n[/block]\nIf you don't have virtualenv & pip you can install them by the following;\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"# install pip\\nsudo easy_install pip\\n\\n# install virtualenv\\nsudo easy_install virtualenv\\n# OR\\nsudo pip install virtualenv\",\n \"language\": \"shell\"\n }\n ]\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"info\",\n \"title\": \"virtualenv\",\n \"body\": \"It's completely optional to use virtualenv. However, to make the app work seperated from project, glim changes stuff in python system path. Therefore, it's highly recommended to use it.\"\n}\n[/block]\nOptionally, if you want multiple apps to run with the same glim, obviously you don't need to install it on seperate virtual environments. You can also create & start a glim app by the following;\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"# create a project in project folder\\nglim new project\\ncd project\\n\\n# start the project\\nglim start\",\n \"language\": \"shell\"\n }\n ]\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"warning\",\n \"title\": \"cwd path\",\n \"body\": \"Glim currently requires to be run with the current working directory path. Therefore, `$ glim start project` won't run the app. It's needed to be run **inside** project folder.\\n\\nThis issue will be addressed in the further releases of project\"\n}\n[/block]","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"553d394e9660ba0d00569d14","project":"543467200ef9c00800164ecc","category":{"sync":{"isSync":false,"url":""},"pages":["553d394e9660ba0d00569d13","553d394e9660ba0d00569d14","553d394e9660ba0d00569d15","553d394e9660ba0d00569d16","553d394e9660ba0d00569d17","553d394e9660ba0d00569d18","553d394e9660ba0d00569d19","553d394e9660ba0d00569d1a","553d394e9660ba0d00569d1b","553d394e9660ba0d00569d1c","553d394e9660ba0d00569d1d","553d394e9660ba0d00569d1e","553d394e9660ba0d00569d1f","553d394e9660ba0d00569d20","553d394e9660ba0d00569d21","553d394e9660ba0d00569d22","553d394e9660ba0d00569d23"],"title":"GLIM","slug":"glim","order":0,"from_sync":false,"reference":false,"_id":"553d394d9660ba0d00569d08","createdAt":"2014-10-15T18:00:23.862Z","project":"543467200ef9c00800164ecc","version":"553d394d9660ba0d00569d07","__v":1},"githubsync":"","user":"543466ea0e8e2b0e00341818","version":{"version":"0.11.2","version_clean":"0.11.2","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["553d394d9660ba0d00569d08","553d394d9660ba0d00569d09"],"_id":"553d394d9660ba0d00569d07","project":"543467200ef9c00800164ecc","forked_from":"54bedb2fffb79c320030db1f","__v":1,"createdAt":"2015-04-26T19:15:25.245Z","releaseDate":"2015-04-26T19:15:25.245Z"},"__v":0,"createdAt":"2014-10-15T17:30:47.965Z"}