Skip to content

MarsGoatz/birdforce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status

License

One thing to note that all the code is under BSD-2 license except the assets. If you have Canva Pro account, then you can reuse the assets too. For the social assets, please refer to the rules of the specific product, for example for twitter, checkout their brand rules and youtube, you will need to check theirs etc.

I chose BSD-2 because Flutter uses BSD-2 too, could have chosen any license really.

Info

flutterCanada.ca using Flutter Web. The repo is not configured for other platforms, if you test the navigation might fail.

Test

Devo

From your terminal run the following command. We use the html renderer instead of the default canvas as canvas adds 2mb to the website.

flutter run -d chrome --web-renderer html

Release

From your terimal run the following command. Feel free to change the port number as needed.

flutter build web && cd build/web --web-renderer=html && (python -mSimpleHTTPServer &) && open http://localhost:8000/`

Deploy

The builds are automatic from the master branch. Netlify site gets a notification when a new commit is added to the master branch and the following commands are run:

if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release --web-renderer html;ls -l;cp netlify.toml build/web/netlify.toml;

So the command loads Flutter, builds the web release version, copies the netlify config and publishes build/web folder.

About

The code for the Flutter Canada website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published