Git Product home page Git Product logo

adonisjs.com's Introduction

AdonisJs Website

This repo contains the source code of adonisjs.com. Feel free to clone this repo and run docs on your local.

Setup

Start by cloning this repo using the following command.

git clone https://github.com/adonisjs/adonisjs.com.git

The docs ( markup files ) are referenced as submodules, so make sure to clone the submodules too.

git submodule init 
git submodule update

Next, install the dependencies from npm.

npm install

After that copy the .env.example file as .env and make required changes.

Start server

The server is started using the adonis serve command.

adonis serve --dev

Compile docs

The docs are compiled at runtime, which means there is no build process to run the website.

But, a menu file is generated to create the sidebar in the docs view. For that, you have to run following command.

adonis compile:docs -v 4.0

The -v flag takes the version for which the menu file should be generated.

Also you can watch for changes, so that the menu file is re-generated everytime you change something.

adonis compile:docs -v 4.0 --watch

Compile styles

All of the styles are saved inside resources/sass folder, make sure do not edit the css files inside public directory and work sass files only.

npm run compile:styles

# with watcher
npm run styles

Compile scripts

The scripts are compiled using webpack, and saved inside resources/scripts folder.

npm run compile:scripts

# with watcher
npm run scripts

License

The fonts referenced from Typekit are only to be used when you are developing website on local, deploying the website on different domain will make the fonts fail and is also not recommended.

adonisjs.com's People

Contributors

thetutlage avatar romainlanz avatar

Watchers

Patric Vormstein avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.