Skip to content

aneeshd16/loklak_webclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loklak webclient

Web client for Loklak server.


Dev

  1. Clone this repo from https://github.com/loklak/loklak_webclient.git
  2. set your constant in .env file by moving cp .env-dist .env
  3. Run npm install from the root directory
  4. Run gulp dev (may require installing Gulp globally npm install gulp -g)
  5. Your browser will automatically be opened and directed to the browser-sync proxy address
  6. To prepare assets for production, run the gulp prod task (Note: the production task does not fire up the express server, and won't provide you with browser-sync's live reloading. Simply use gulp dev during development. More information below)

Now that gulp dev is running, the server is up as well and serving files from the /build directory. Any changes in the /app directory will be automatically processed by Gulp and the changes will be injected to any open browsers pointed at the proxy address.

Config

Set the apiUrl var in .env to set the server address in apiUrl

Troubleshooting

  • On *nix based systems (latest Ubuntu, Fedora version) you might get an Error: watch ENOSPC when running gulp dev. To fix, check this post on Stackoverflow.

About

loklak web application framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.7%
  • CSS 24.8%
  • HTML 14.5%